Searched refs:sehandle (Results 1 – 9 of 9) sorted by relevance
/system/core/fs_mgr/ |
D | fs_mgr_format.cpp | 58 struct selabel_handle *sehandle = selinux_android_file_context_handle(); in format_ext4() local 59 if (!sehandle) { in format_ext4() 74 …rc = make_ext4fs_internal(fd, NULL, NULL, fs_mnt_point, 0, 0, 0, 0, 0, 0, sehandle, 0, 0, NULL, NU… in format_ext4() 80 if (sehandle) { in format_ext4() 81 selabel_close(sehandle); in format_ext4()
|
/system/vold/ |
D | main.cpp | 48 struct selabel_handle *sehandle; variable 70 sehandle = selinux_android_file_context_handle(); in main() 71 if (sehandle) { in main() 72 selinux_android_set_sehandle(sehandle); in main()
|
D | sehandle.h | 22 extern struct selabel_handle *sehandle;
|
D | Utils.cpp | 65 if (sehandle) { in CreateDeviceNode() 66 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFBLK)) { in CreateDeviceNode() 101 if (sehandle) { in PrepareDir() 102 if (!selabel_lookup(sehandle, &secontext, cpath, S_IFDIR)) { in PrepareDir()
|
D | Loop.cpp | 156 if (sehandle) { in create() 157 rc = selabel_lookup(sehandle, &secontext, filename, S_IFBLK); in create()
|
/system/core/init/ |
D | init.h | 24 extern struct selabel_handle *sehandle;
|
D | util.cpp | 125 if (sehandle) { in create_socket() 126 if (selabel_lookup(sehandle, &filecon, addr.sun_path, S_IFSOCK) == 0) { in create_socket() 294 if (sehandle) { in make_dir() 295 selabel_lookup(sehandle, &secontext, path, mode); in make_dir()
|
D | devices.cpp | 63 extern struct selabel_handle *sehandle; 240 if (sehandle) { in make_device() 241 if (selabel_lookup_best_match(sehandle, &secontext, path, links, mode)) { in make_device() 955 selabel_close(sehandle); in handle_device_fd() 956 sehandle = sehandle2; in handle_device_fd() 1037 if (!sehandle) { in device_init() 1038 sehandle = selinux_android_file_context_handle(); in device_init()
|
D | init.cpp | 76 struct selabel_handle *sehandle; variable 536 sehandle = selinux_android_file_context_handle(); in selinux_init_all_handles() 537 selinux_android_set_sehandle(sehandle); in selinux_init_all_handles()
|