HomeSort by relevance Sort by last modified time
    Searched full:scontext (Results 1 - 25 of 53) sorted by null

1 2 3

  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherAppState.java 46 private static Context sContext;
66 return sContext;
70 if (sContext != null) {
71 Log.w(Launcher.TAG, "setApplicationContext called twice! old=" + sContext + " new=" + context);
73 sContext = context.getApplicationContext();
77 if (sContext == null) {
84 TestingUtils.startTrackingMemory(sContext);
87 mInvariantDeviceProfile = new InvariantDeviceProfile(sContext);
88 mIconCache = new IconCache(sContext, mInvariantDeviceProfile);
89 mWidgetCache = new WidgetPreviewLoader(sContext, mIconCache)
    [all...]
  /external/selinux/libsepol/src/
context.c 83 * allocated string of the correct size. Set `*scontext'
93 char *scontext = NULL; local
109 scontext = malloc(scontext_len);
110 if (!scontext)
112 scontext[scontext_len - 1] = '\0';
117 ptr = scontext;
130 *result = scontext;
136 free(scontext);
149 context_struct_t *scontext = NULL; local
160 scontext = (context_struct_t *) malloc(sizeof(context_struct_t))
    [all...]
genusers.c 187 char *scontext, *r, *s; local
210 scontext = malloc(p - q);
211 if (!scontext) {
217 r = scontext;
225 r = scontext;
230 ERR(NULL, "invalid level %s (%s:%u)", scontext,
232 free(scontext);
236 free(scontext);
256 scontext = malloc(p - q);
257 if (!scontext) {
    [all...]
mls.h 45 char **scontext);
50 char **scontext, context_struct_t * context);
59 context_struct_t * scontext,
services.c 376 * only. For these rules, scontext is the context before the transition,
385 static int constraint_expr_eval_reason(context_struct_t *scontext,
496 val1 = scontext->user;
502 val1 = scontext->type;
508 val1 = scontext->role;
537 l1 = &(scontext->range.level[0]);
543 l1 = &(scontext->range.level[0]);
549 l1 = &(scontext->range.level[1]);
555 l1 = &(scontext->range.level[1]);
561 l1 = &(scontext->range.level[0])
1068 context_struct_t *scontext = 0, *tcontext = 0; local
1104 context_struct_t *scontext = 0, *tcontext = 0; local
1304 context_struct_t *scontext = 0, *tcontext = 0, newcontext; local
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/
DialerApplication.java 34 private static Context sContext;
38 sContext = this;
51 return sContext;
56 sContext = context;
  /frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
AlarmService.java 27 static Context sContext;
32 sContext = this;
49 sContext = null;
  /external/selinux/sepolgen/tests/
test_audit.py 25 audit1 = """Sep 12 08:26:43 dhcp83-5 kernel: audit(1158064002.046:4): avc: denied { read } for pid=2 496 comm="bluez-pin" name=".gdm1K3IFT" dev=dm-0 ino=3601333 scontext=user_u:system_r:bluetooth_helper_t:s0-s0:c0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=file"""
28 audit2 = """type=AVC msg=audit(1158584779.745:708): avc: denied { dac_read_search } for pid=8132 comm="sh" capability=2 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r:vpnc_t:s0 tclass=capability"""
30 log1 = """type=AVC msg=audit(1158584779.745:708): avc: denied { dac_read_search } for pid=8132 comm="sh" capability=2 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r:vpnc_t:s0 tclass=capability
32 type=AVC msg=audit(1158584779.753:709): avc: denied { dac_override } for pid=8133 comm="vpnc-script" capability=1 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r:vpnc_t:s0 tclass=capability
33 type=AVC msg=audit(1158584779.753:709): avc: denied { dac_read_search } for pid=8133 comm="vpnc-script" capability=2 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r:vpnc_t:s0 tclass=capability
35 type=AVC msg=audit(1158584779.825:710): avc: denied { dac_override } for pid=8134 comm="vpnc-script" capability=1 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r:vpnc_t:s0 tclass=capability
36 type=AVC msg=audit(1158584779.825:710): avc: denied { dac_read_search } for pid=8134 comm="vpnc-script" capability=2 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r:vpnc_t:s0 tclass=capability
38 type=AVC msg=audit(1158584780.793:711): avc: denied { dac_override } for pid=8144 comm="sh" capability=1 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r:vpnc_t:s0 tclass=capability
39 type=AVC msg=audit(1158584780.793:711): avc: denied { dac_read_search } for pid=8144 comm="sh" capability=2 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r:vpnc_t:s0 tclass=capability
41 type=AVC msg=audit(1158584780.797:712): avc: denied { dac_override } for pid=8145 comm="vpnc-script" capability=1 scontext=user_u:system_r:vpnc_t:s0 tcontext=user_u:system_r:vpnc_t:s0 tclass=capabilit
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
RenderScriptSingleton.java 34 private static Context sContext;
47 if (context.equals(sContext)) {
49 } else if (sContext != null) {
52 ", before clearing previous "+ sContext);
58 sContext = context;
69 if (sContext != null) {
75 sContext = null;
  /external/selinux/sepolgen/tests/test_data/
httpd.log 1 type=USER_AVC msg=audit(1163772866.369:8084): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivationStage dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
2 type=USER_AVC msg=audit(1163772866.437:8085): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivationStage dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
3 type=USER_AVC msg=audit(1163772866.449:8086): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=StateChange dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
4 type=USER_AVC msg=audit(1163772866.449:8087): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=StateChange dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
5 type=USER_AVC msg=audit(1163772866.449:8088): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivationFailed dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
6 type=USER_AVC msg=audit(1163772866.453:8089): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivationStage dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
7 type=USER_AVC msg=audit(1163772866.453:8090): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivationStage dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
8 type=USER_AVC msg=audit(1163772866.453:8091): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=StateChange dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
9 type=USER_AVC msg=audit(1163772866.453:8092): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=signal interface=org.freedesktop.NetworkManager member=DeviceActivating dest=org.freedesktop.DBus spid=6687 tpid=3866 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
10 type=USER_AVC msg=audit(1163772866.453:8093): user pid=6659 uid=81 auid=500 subj=staff_u:staff_r:staff_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.NetworkManager.Devices member=getProperties dest=org.freedesktop.NetworkManager spid=3866 tpid=6687 scontext=staff_u:staff_r:staff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon (…)
    [all...]
audit.log 1 type=AVC msg=audit(1162850331.422:978): avc: denied { ioctl } for pid=6314 comm="pam_timestamp_c" name="[96391]" dev=pipefs ino=96391 scontext=staff_u:staff_r:pam_t:s0 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=fifo_file
4 type=AVC msg=audit(1162850332.318:979): avc: denied { read } for pid=6306 comm="beagled" name=".gdmDOM7HT" dev=dm-0 ino=14469552 scontext=staff_u:staff_r:staff_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=file
6 type=AVC msg=audit(1162850333.186:980): avc: denied { read } for pid=6306 comm="beagled" name="max_user_instances" dev=proc ino=-268435218 scontext=staff_u:staff_r:staff_t:s0 tcontext=system_u:object_r:sysctl_fs_t:s0 tclass=file
8 type=AVC msg=audit(1162850335.022:981): avc: denied { read write } for pid=6336 comm="clock-applet" name="bonobo-activation-register.lock" dev=dm-0 ino=5434689 scontext=staff_u:staff_r:staff_t:s0 tcontext=user_u:object_r:user_tmp_t:s0 tclass=file
10 type=AVC msg=audit(1162850335.022:982): avc: denied { lock } for pid=6336 comm="clock-applet" name="bonobo-activation-register.lock" dev=dm-0 ino=5434689 scontext=staff_u:staff_r:staff_t:s0 tcontext=user_u:object_r:user_tmp_t:s0 tclass=file
15 type=AVC msg=audit(1162850343.419:985): avc: denied { search } for pid=6377 comm="su" name="root" dev=dm-0 ino=13127137 scontext=staff_u:staff_r:staff_su_t:s0 tcontext=root:object_r:user_home_dir_t:s0 tclass=dir
17 type=AVC msg=audit(1162850343.427:986): avc: denied { write } for pid=6378 comm="xauth" name=".gdmDOM7HT" dev=dm-0 ino=14469552 scontext=staff_u:staff_r:staff_xauth_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=file
19 type=AVC msg=audit(1162850343.427:987): avc: denied { read } for pid=6378 comm="xauth" name=".gdmDOM7HT" dev=dm-0 ino=14469552 scontext=staff_u:staff_r:staff_xauth_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=file
21 type=AVC msg=audit(1162850343.427:988): avc: denied { getattr } for pid=6378 comm="xauth" name=".gdmDOM7HT" dev=dm-0 ino=14469552 scontext=staff_u:staff_r:staff_xauth_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=file
24 type=AVC msg=audit(1162850343.427:989): avc: denied { write } for pid=6377 comm="su" name="root" dev=dm-0 ino=13127137 scontext=staff_u:staff_r:staff_su_t:s0 tcontext=root:object_r:user_home_dir_t:s0 tclass=di
    [all...]
short.log 1 type=AVC msg=audit(1162850331.422:978): avc: denied { ioctl } for pid=6314 comm="pam_timestamp_c" name="[96391]" dev=pipefs ino=96391 scontext=staff_u:staff_r:pam_t:s0 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=fifo_file
4 type=AVC msg=audit(1162850332.318:979): avc: denied { read } for pid=6306 comm="beagled" name=".gdmDOM7HT" dev=dm-0 ino=14469552 scontext=staff_u:staff_r:staff_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=file
6 type=AVC msg=audit(1162850333.186:980): avc: denied { read } for pid=6306 comm="beagled" name="max_user_instances" dev=proc ino=-268435218 scontext=staff_u:staff_r:staff_t:s0 tcontext=system_u:object_r:sysctl_fs_t:s0 tclass=file
8 type=AVC msg=audit(1162850335.022:981): avc: denied { read write } for pid=6336 comm="clock-applet" name="bonobo-activation-register.lock" dev=dm-0 ino=5434689 scontext=staff_u:staff_r:staff_t:s0 tcontext=user_u:object_r:user_tmp_t:s0 tclass=file
10 type=AVC msg=audit(1162850335.022:982): avc: denied { lock } for pid=6336 comm="clock-applet" name="bonobo-activation-register.lock" dev=dm-0 ino=5434689 scontext=staff_u:staff_r:staff_t:s0 tcontext=user_u:object_r:user_tmp_t:s0 tclass=file
15 type=AVC msg=audit(1162850343.419:985): avc: denied { search } for pid=6377 comm="su" name="root" dev=dm-0 ino=13127137 scontext=staff_u:staff_r:staff_su_t:s0 tcontext=root:object_r:user_home_dir_t:s0 tclass=dir
  /external/selinux/libselinux/utils/
compute_create.c 15 fprintf(stderr, "usage: %s scontext tcontext tclass\n",
compute_member.c 15 fprintf(stderr, "usage: %s scontext tcontext tclass\n",
compute_relabel.c 15 fprintf(stderr, "usage: %s scontext tcontext tclass\n",
compute_av.c 15 fprintf(stderr, "usage: %s scontext tcontext tclass\n",
  /external/selinux/libselinux/src/
is_customizable_type.c 64 int is_context_customizable(const char * scontext)
75 c = context_new(scontext);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
PlaybackOverlayFragment.java 87 private static Context sContext;
117 sContext = getActivity();
258 mPlayPauseAction = new PlayPauseAction(sContext);
259 mRepeatAction = new RepeatAction(sContext);
260 mThumbsUpAction = new ThumbsUpAction(sContext);
261 mThumbsDownAction = new ThumbsDownAction(sContext);
262 mShuffleAction = new ShuffleAction(sContext);
263 mSkipNextAction = new PlaybackControlsRow.SkipNextAction(sContext);
264 mSkipPreviousAction = new PlaybackControlsRow.SkipPreviousAction(sContext);
265 mFastForwardAction = new PlaybackControlsRow.FastForwardAction(sContext);
    [all...]
  /external/selinux/sepolgen/src/sepolgen/
audit.py 146 scontext - context for the source (process) that generated the message
160 scontext=user_u:system_r:setroubleshootd_t:s0
167 scontext=user_u:system_r:bluetooth_helper_t:s0-s0:c0
172 self.scontext = refpolicy.SecurityContext()
225 if fields[0] == "scontext":
226 self.scontext = refpolicy.SecurityContext(fields[1])
247 scontext = self.scontext.to_string()
251 if (scontext, tcontext, self.tclass, access_tuple) in avcdict.keys():
252 self.type, self.data = avcdict[(scontext, tcontext, self.tclass, access_tuple)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
audit.py 146 scontext - context for the source (process) that generated the message
160 scontext=user_u:system_r:setroubleshootd_t:s0
167 scontext=user_u:system_r:bluetooth_helper_t:s0-s0:c0
172 self.scontext = refpolicy.SecurityContext()
225 if fields[0] == "scontext":
226 self.scontext = refpolicy.SecurityContext(fields[1])
247 scontext = self.scontext.to_string()
251 if (scontext, tcontext, self.tclass, access_tuple) in avcdict.keys():
252 self.type, self.data = avcdict[(scontext, tcontext, self.tclass, access_tuple)
    [all...]
  /external/selinux/policycoreutils/gui/
fcontextPage.py 34 def __init__(self, scontext):
35 self.scontext = scontext
36 con = scontext.split(":")
44 return self.scontext
154 scontext = store.get_value(iter, TYPE_COL)
155 scon = context(scontext)
  /external/autotest/client/site_tests/graphics_SanAngeles/src/
app-linux.c 73 static struct waffle_context *sContext;
136 sContext = waffle_context_create(sConfig, NULL);
137 if (!sContext)
147 ok = waffle_make_current(sDisplay, sWindow, sContext);
175 if (!waffle_context_destroy(sContext))
  /frameworks/base/core/java/android/util/
NtpTrustedTime.java 40 private static Context sContext;
75 sContext = context;
91 mCM = (ConnectivityManager) sContext.getSystemService(Context.CONNECTIVITY_SERVICE);
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
VideoProvider.java 56 private static Context sContext;
60 if (sContext == null)
61 sContext = context;
159 sPrefixUrl = sContext.getResources().getString(R.string.prefix_url);
  /external/selinux/libsepol/include/sepol/policydb/
services.h 141 * allocated string of the correct size. Set `*scontext'
146 sepol_security_context_t * scontext, /* OUT */
151 * has the string representation specified by `scontext'.
153 extern int sepol_context_to_sid(const sepol_security_context_t scontext, /* IN */

Completed in 617 milliseconds

1 2 3