Lines Matching full:rights
39 * Take a comma-separated list of capability rights and verify that all rights
40 * are present in the specified table, and that all rights in the table are
91 cap_rights_t rights; in ATF_TC_BODY() local
97 * libsysdecode emits a pseudo-right, CAP_NONE, when no rights are in ATF_TC_BODY()
101 cap_rights_init(&rights), in ATF_TC_BODY()
105 cap_rights_init(&rights, CAP_READ, CAP_SEEK), in ATF_TC_BODY()
109 cap_rights_init(&rights, CAP_READ, CAP_MMAP, CAP_SEEK_TELL), in ATF_TC_BODY()
113 cap_rights_init(&rights, CAP_MMAP, CAP_READ, CAP_WRITE, CAP_SEEK), in ATF_TC_BODY()
117 cap_rights_init(&rights, CAP_READ, CAP_MMAP_X), in ATF_TC_BODY()
122 cap_rights_init(&rights, CAP_RECV, CAP_SEND), in ATF_TC_BODY()
127 cap_rights_init(&rights, CAP_READ, CAP_KQUEUE), in ATF_TC_BODY()
130 /* Create a rights set with an unnamed flag. */ in ATF_TC_BODY()
131 cap_rights_init(&rights, CAP_SEEK); in ATF_TC_BODY()
132 cap_rights_clear(&rights, CAP_SEEK_TELL); in ATF_TC_BODY()
134 &rights, in ATF_TC_BODY()
135 (const char *[]){ "CAP_NONE", "unknown rights", NULL, }); in ATF_TC_BODY()
137 cap_rights_init(&rights, CAP_SEEK, CAP_KQUEUE_CHANGE); in ATF_TC_BODY()
138 cap_rights_clear(&rights, CAP_SEEK_TELL); in ATF_TC_BODY()
140 &rights, in ATF_TC_BODY()
141 (const char *[]){ "CAP_KQUEUE_CHANGE", "unknown rights", NULL, }); in ATF_TC_BODY()