Searched refs:set_cap (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/tools/testing/selftests/landlock/ |
D | fs_test.c | 182 set_cap(_metadata, CAP_SYS_ADMIN); in prepare_layout() 191 set_cap(_metadata, CAP_SYS_ADMIN); in cleanup_layout() 212 set_cap(_metadata, CAP_SYS_ADMIN); in create_layout1() 234 set_cap(_metadata, CAP_SYS_ADMIN); in remove_layout1() 1445 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1477 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1498 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1512 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1540 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1610 set_cap(_metadata, CAP_SYS_CHROOT); in test_relative_path() [all …]
|
D | common.h | 180 set_cap(struct __test_metadata *const _metadata, const cap_value_t caps) in set_cap() function
|
/Linux-v6.1/drivers/hwmon/ |
D | acpi_power_meter.c | 213 static ssize_t set_cap(struct device *dev, struct device_attribute *devattr, in set_cap() function 502 RW_SENSOR_TEMPLATE(POWER_CAP_NAME, show_cap, set_cap, 0),
|