Lines Matching refs:kernel_cap_t
96 } kernel_cap_t;
101 kernel_cap_t permitted;
102 kernel_cap_t inheritable;
106 #define _KERNEL_CAP_T_SIZE (sizeof(kernel_cap_t))
381 extern const kernel_cap_t __cap_empty_set;
382 extern const kernel_cap_t __cap_full_set;
383 extern const kernel_cap_t __cap_init_eff_set;
418 # define CAP_EMPTY_SET ((kernel_cap_t){{ 0, 0 }})
419 # define CAP_FULL_SET ((kernel_cap_t){{ ~0, ~0 }})
420 # define CAP_FS_SET ((kernel_cap_t){{ CAP_FS_MASK_B0 \
423 # define CAP_NFSD_SET ((kernel_cap_t){{ CAP_FS_MASK_B0 \
451 static inline kernel_cap_t cap_combine(const kernel_cap_t a,
452 const kernel_cap_t b)
454 kernel_cap_t dest;
459 static inline kernel_cap_t cap_intersect(const kernel_cap_t a,
460 const kernel_cap_t b)
462 kernel_cap_t dest;
467 static inline kernel_cap_t cap_drop(const kernel_cap_t a,
468 const kernel_cap_t drop)
470 kernel_cap_t dest;
475 static inline kernel_cap_t cap_invert(const kernel_cap_t c)
477 kernel_cap_t dest;
482 static inline int cap_isclear(const kernel_cap_t a)
499 static inline int cap_issubset(const kernel_cap_t a, const kernel_cap_t set)
501 kernel_cap_t dest;
510 const kernel_cap_t __cap_fs_set = CAP_FS_SET;
514 static inline kernel_cap_t cap_drop_fs_set(const kernel_cap_t a)
516 const kernel_cap_t __cap_fs_set = CAP_FS_SET;
520 static inline kernel_cap_t cap_raise_fs_set(const kernel_cap_t a,
521 const kernel_cap_t permitted)
523 const kernel_cap_t __cap_fs_set = CAP_FS_SET;
528 static inline kernel_cap_t cap_drop_nfsd_set(const kernel_cap_t a)
530 const kernel_cap_t __cap_fs_set = CAP_NFSD_SET;
534 static inline kernel_cap_t cap_raise_nfsd_set(const kernel_cap_t a,
535 const kernel_cap_t
537 const kernel_cap_t __cap_nfsd_set = CAP_NFSD_SET;