Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 22 of 22) sorted by relevance

/system/sepolicy/tools/
Dcheckfc.c240 static void do_compare_and_die_on_error(struct selinux_opt opts[], unsigned int backend, char *path… in do_compare_and_die_on_error() argument
246 opts[0].value = NULL; /* not validating against a policy when comparing */ in do_compare_and_die_on_error()
249 opts[1].value = paths[i]; in do_compare_and_die_on_error()
250 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2); in do_compare_and_die_on_error()
261 static void do_fc_check_and_die_on_error(struct selinux_opt opts[], unsigned int backend, filemode … in do_fc_check_and_die_on_error() argument
321 opts[1].value = context_file; in do_fc_check_and_die_on_error()
323 global_state.sepolicy.sehnd[0] = selabel_open(backend, opts, 2); in do_fc_check_and_die_on_error()
332 struct selinux_opt opts[] = { in main() local
389 do_compare_and_die_on_error(opts, backend, &(argv[index])); in main()
395 do_fc_check_and_die_on_error(opts, backend, mode, sepolicy_file, context_file, allow_empty); in main()
/system/core/sdcard/
Dsdcard.cpp119 auto opts = android::base::StringPrintf("fsuid=%d,fsgid=%d,%smask=%d,userid=%d,gid=%d", in sdcardfs_setup() local
122 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()) == -1) { in sdcardfs_setup()
123 PLOG(WARNING) << "Failed to mount sdcardfs with options " << opts; in sdcardfs_setup()
134 std::string opts = android::base::StringPrintf("mask=%d,gid=%d", mask, gid); in sdcardfs_setup_bind_remount() local
143 MS_REMOUNT | MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str()) != 0) { in sdcardfs_setup_bind_remount()
/system/extras/libperfmgr/tools/
DConfigVerifier.cc128 static struct option opts[] = { in main() local
137 int c = getopt_long(argc, argv, "c:ehv", opts, &option_index); in main()
/system/vold/
DAppFuseUtil.cpp52 const auto opts = StringPrintf( in Mount() local
64 MS_NOSUID | MS_NODEV | MS_NOEXEC | MS_NOATIME, opts.c_str())); in Mount()
Dmain.cpp150 static struct option opts[] = { in parse_args() local
158 while ((c = getopt_long(argc, argv, "", opts, nullptr)) != -1) { in parse_args()
/system/core/adb/daemon/
Dmain.cpp278 static struct option opts[] = { in main() local
285 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
/system/core/libsparse/
Dsimg_dump.py47 opts, args = getopt.getopt(sys.argv[1:],
53 for o, a in opts:
/system/core/libion/
Dion_test.c220 static struct option opts[] = { in main() local
232 c = getopt_long(argc, argv, "af:h:l:mr:st", opts, &i); in main()
/system/extras/tests/mmc_tracepoints/
DREADME17 opts.
/system/bt/btif/co/
Dbta_hh_co.cc50 int opts = fcntl(fd, F_GETFL); in uhid_set_non_blocking() local
51 if (opts < 0) in uhid_set_non_blocking()
55 opts |= O_NONBLOCK; in uhid_set_non_blocking()
57 if (fcntl(fd, F_SETFL, opts) < 0) in uhid_set_non_blocking()
/system/core/libziparchive/
Dunzip.cpp277 static struct option opts[] = { in main() local
282 while ((opt = getopt_long(argc, argv, "-d:hlnopqvx", opts, nullptr)) != -1) { in main()
/system/core/libutils/include/utils/
DLooper.h405 static sp<Looper> prepare(int opts);
/system/core/libutils/
DLooper.cpp111 sp<Looper> Looper::prepare(int opts) { in prepare() argument
112 bool allowNonCallbacks = opts & PREPARE_ALLOW_NON_CALLBACKS; in prepare()
/system/sepolicy/private/
Dephemeral_app.te59 # Allow heap profiling if the app opts in by being marked
Duntrusted_app_all.te151 # Allow heap profiling if the app opts in by being marked
Dpriv_app.te161 # Allow heap profiling if the app opts in by being marked
/system/sepolicy/prebuilts/api/29.0/private/
Dephemeral_app.te59 # Allow heap profiling if the app opts in by being marked
Duntrusted_app_all.te151 # Allow heap profiling if the app opts in by being marked
Dpriv_app.te161 # Allow heap profiling if the app opts in by being marked
/system/sepolicy/prebuilts/api/28.0/public/
Dproperty_contexts19 dalvik.vm.extra-opts u:object_r:exported_dalvik_prop:s0 exact string
/system/sepolicy/prebuilts/api/29.0/public/
Dproperty_contexts24 dalvik.vm.extra-opts u:object_r:exported_dalvik_prop:s0 exact string
/system/sepolicy/public/
Dproperty_contexts24 dalvik.vm.extra-opts u:object_r:exported_dalvik_prop:s0 exact string