Searched refs:set_cap (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/tools/testing/selftests/landlock/ |
D | fs_test.c | 266 set_cap(_metadata, CAP_SYS_ADMIN); in prepare_layout_opt() 291 set_cap(_metadata, CAP_SYS_ADMIN); in cleanup_layout() 327 set_cap(_metadata, CAP_SYS_ADMIN); in create_layout1() 352 set_cap(_metadata, CAP_SYS_ADMIN); in remove_layout1() 1564 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1596 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1617 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1631 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1659 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1729 set_cap(_metadata, CAP_SYS_CHROOT); in test_relative_path() [all …]
|
D | common.h | 182 static void __maybe_unused set_cap(struct __test_metadata *const _metadata, in set_cap() function
|
/Linux-v6.6/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),
|