diff options
author | tmm <tmm@FreeBSD.org> | 2001-04-04 18:10:25 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2001-04-04 18:10:25 +0000 |
commit | c8e81f3b4925f55310b7b94fbbac19f5fb24035f (patch) | |
tree | 51c17bcbd0afbeffd6a5e8e359846c455b3f470b /lib/libkse | |
parent | a639b51cf8b2a1ecbafee6f028f999e2d0ba4935 (diff) | |
download | FreeBSD-src-c8e81f3b4925f55310b7b94fbbac19f5fb24035f.zip FreeBSD-src-c8e81f3b4925f55310b7b94fbbac19f5fb24035f.tar.gz |
Add thread safety wrappers for the posix1e syscalls that deal with file
descriptors.
Approved by: rwatson
Obtained from: TrustedBSD Project
Diffstat (limited to 'lib/libkse')
-rw-r--r-- | lib/libkse/thread/thr_private.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libkse/thread/thr_private.h b/lib/libkse/thread/thr_private.h index 8e04bd5..e212a0b 100644 --- a/lib/libkse/thread/thr_private.h +++ b/lib/libkse/thread/thr_private.h @@ -1396,6 +1396,20 @@ extern void __siglongjmp(sigjmp_buf, int) __dead2; extern void __longjmp(jmp_buf, int) __dead2; extern void ___longjmp(jmp_buf, int) __dead2; #endif + +/* #include <sys/capability.h> */ +#ifdef _SYS_CAPABILITY_H +int __sys___cap_get_fd(int, struct cap *); +int __sys___cap_set_fd(int, struct cap *); +#endif + +/* #include <sys/acl.h> */ +#ifdef _SYS_ACL_H +int __sys___acl_aclcheck_fd(int, acl_type_t, struct acl *); +int __sys___acl_delete_fd(int, acl_type_t); +int __sys___acl_get_fd(int, acl_type_t, struct acl *); +int __sys___acl_set_fd(int, acl_type_t, struct acl *); +#endif __END_DECLS #endif /* !_PTHREAD_PRIVATE_H */ |