From c8e81f3b4925f55310b7b94fbbac19f5fb24035f Mon Sep 17 00:00:00 2001 From: tmm Date: Wed, 4 Apr 2001 18:10:25 +0000 Subject: Add thread safety wrappers for the posix1e syscalls that deal with file descriptors. Approved by: rwatson Obtained from: TrustedBSD Project --- lib/libpthread/thread/thr_private.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lib/libpthread/thread/thr_private.h') diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index 8e04bd5..e212a0b 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/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 */ +#ifdef _SYS_CAPABILITY_H +int __sys___cap_get_fd(int, struct cap *); +int __sys___cap_set_fd(int, struct cap *); +#endif + +/* #include */ +#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 */ -- cgit v1.1