Define cap_rights_t and DTYPE_CAPABILITY, which are required to
implement Capsicum capabilities. Approved by: mentor (rwatson), re (bz)
This commit is contained in:
parent
b758bdf8b3
commit
07b1b59405
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223710
@ -38,6 +38,7 @@
|
||||
typedef __uint32_t __blksize_t; /* file block size */
|
||||
typedef __int64_t __blkcnt_t; /* file block count */
|
||||
typedef __int32_t __clockid_t; /* clock_gettime()... */
|
||||
typedef __uint64_t __cap_rights_t; /* capability rights */
|
||||
typedef __uint32_t __fflags_t; /* file flags */
|
||||
typedef __uint64_t __fsblkcnt_t;
|
||||
typedef __uint64_t __fsfilcnt_t;
|
||||
|
@ -64,6 +64,7 @@ struct socket;
|
||||
#define DTYPE_SEM 9 /* posix semaphore */
|
||||
#define DTYPE_PTS 10 /* pseudo teletype master device */
|
||||
#define DTYPE_DEV 11 /* Device specific fd type */
|
||||
#define DTYPE_CAPABILITY 12 /* capability */
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
|
@ -89,6 +89,8 @@ typedef __blkcnt_t blkcnt_t;
|
||||
#define _BLKCNT_T_DECLARED
|
||||
#endif
|
||||
|
||||
typedef __cap_rights_t cap_rights_t;
|
||||
|
||||
#ifndef _CLOCK_T_DECLARED
|
||||
typedef __clock_t clock_t;
|
||||
#define _CLOCK_T_DECLARED
|
||||
|
Loading…
Reference in New Issue
Block a user