1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Reserve system call numbers for the following system calls:

__mac_get_pid		Retrieve MAC label of a process by pid

Similar to __mac_get_proc() except that the target process of
the operation is explicitly specified rather than assuming
curthread.

__mac_get_link		Retrieve MAC label of a path with NOFOLLOW
__mac_set_link		Set MAC label of a path with NOFOLLOW
extattr_set_link	Set EAs on a path with NOFOLLOW
extattr_get_link	Retrieve EAs on a path with NOFOLLOW
extattr_delete_link	Delete EAs on a path with NOFOLLOW

These calls are similar to __mac_get_file(), __mac_set_file(),
extattr_set_file(), extattr_get_file(), and extattr_delete_file(),
except that they do not follow symlinks.  The distinction between
these calls is similar to lchown() vs chown().

Implementations to follow.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
This commit is contained in:
Robert Watson 2002-10-01 02:35:59 +00:00
parent c515abc535
commit 4499985ef2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104262

View File

@ -584,3 +584,9 @@
406 MNOSTD BSD { int ksem_unlink(const char *name); }
407 MNOSTD BSD { int ksem_getvalue(semid_t id, int *val); }
408 MNOSTD BSD { int ksem_destroy(semid_t id); }
409 UNIMPL BSD __mac_get_pid
410 UNIMPL BSD __mac_get_link
411 UNIMPL BSD __mac_set_link
412 UNIMPL BSD extattr_set_link
413 UNIMPL BSD extattr_get_link
414 UNIMPL BSD extattr_delete_link