Home
last modified time | relevance | path

Searched refs:set_cap (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/testing/selftests/landlock/
Dfs_test.c266 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 …]
Dcommon.h182 static void __maybe_unused set_cap(struct __test_metadata *const _metadata, in set_cap() function
/Linux-v6.6/drivers/hwmon/
Dacpi_power_meter.c213 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),