/prebuilts/ndk/current/platforms/android-18/arch-arm/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-18/arch-mips/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-18/arch-x86/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-19/arch-arm/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-19/arch-mips/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-19/arch-x86/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-3/arch-arm/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-4/arch-arm/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-5/arch-arm/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-8/arch-arm/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-9/arch-arm/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-9/arch-mips/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/prebuilts/ndk/current/platforms/android-9/arch-x86/usr/include/linux/ |
moduleparam.h | 42 unsigned int perm; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] = prefix #name; static struct kernel_param const __param_##name __attribute_used__ __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) = { __param_str_##name, perm, set, get, arg } 65 #define module_param_call(name, set, get, arg, perm) __module_param_call(MODULE_PARAM_PREFIX, name, set, get, arg, perm) 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type) 69 #define module_param(name, type, perm) module_param_named(name, name, type, perm) 71 #define module_param_string(name, string, len, perm) static struct kparam_string __param_string_##name = { len, string }; module_param_call(name (…) [all...] |
/external/selinux/secilc/test/ |
minimum.cil | 1 (class CLASS (PERM)) 13 (allow TYPE self (CLASS (PERM)))
|
optional_test.cil | 2 (class CLASS (PERM)) 14 (allow TYPE self (CLASS (PERM))) 28 (allow t1 self (CLASS (PERM))) ;; Should not appear in policy 29 (allow UNKNOWN self (CLASS (PERM))) 42 (allow t2 DNE (CLASS (PERM))) 50 (allow t2 self (CLASS (PERM))) 60 ;; (allow t3 DNE (CLASS (PERM))) 77 ;; allow b2c.t2 b2c.t2 : CLASS { PERM PERM1 };
|
block_test.cil | 2 (class CLASS (PERM)) 14 (allow TYPE self (CLASS (PERM))) 56 (allow t3a t (CLASS (PERM))) 83 (allow t4 self (CLASS (PERM))) 91 (allow t5 self (CLASS (PERM))) 103 (allow t6 self (CLASS (PERM))) 120 ;; allow b3a.t3a b3a.b.t : CLASS { PERM }; 121 ;; allow b3a.t3a b3c.t : CLASS { PERM }; 122 ;; allow b3b.t3a b3b.b.t : CLASS { PERM }; 123 ;; allow b3d.t3a b3d.b.t : CLASS { PERM }; [all...] |
name_resolution_test.cil | 2 (class CLASS (PERM)) 14 (allow TYPE self (CLASS (PERM))) 34 (allow t1a self (CLASS (PERM))) 35 (allow b1b.t1b self (CLASS (PERM))) 53 (allow t self (CLASS (PERM))) 62 (allow t3 self (CLASS (PERM))) 72 (allow t4 self (CLASS (PERM))) 114 (allow t self (CLASS (PERM))) 137 ;;(allow o8a.t8a self (CLASS (PERM))) ;; Bad name 141 ;;(allow m8.t self (CLASS (PERM))) ;; Bad nam [all...] |
/external/vboot_reference/tests/tpm_lite/ |
tpmtest_spaceperm.c | 21 uint32_t perm; local 28 TPM_CHECK(TlclGetPermissions(INDEX0, &perm)); 29 VbAssert((perm & PERMPPGL) == PERMPPGL); 31 TPM_CHECK(TlclGetPermissions(INDEX1, &perm)); 32 VbAssert((perm & PERMPP) == PERMPP);
|
tpmtest_testsetup.c | 18 uint32_t perm; local 33 perm = TPM_NV_PER_PPWRITE | TPM_NV_PER_GLOBALLOCK; 34 TPM_CHECK(TlclDefineSpace(INDEX0, perm, sizeof(uint32_t))); 39 perm = TPM_NV_PER_PPWRITE; 40 TPM_CHECK(TlclDefineSpace(INDEX1, perm, sizeof(uint32_t)));
|
/external/selinux/policycoreutils/sepolicy/sepolicy/ |
network.py | 28 def get_types(src, tclass, perm): 29 allows = search([sepolicy.ALLOW], {sepolicy.SOURCE: src, sepolicy.CLASS: tclass, sepolicy.PERMS: perm}) 32 for i in map(lambda y: y[sepolicy.TARGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]), allows)): 38 def get_network_connect(src, protocol, perm): 41 tlist = get_types(src, "%s_socket" % protocol, [perm]) 43 d[(src, protocol, perm)] = [] 55 d[(src, protocol, perm)].append((i, ["all ports with out defined types"])) 57 d[(src, protocol, perm)].append((i, ["all ports"])) 59 d[(src, protocol, perm)].append((i, ["all ports > 1024"])) 61 d[(src, protocol, perm)].append((i, ["all ports < 1024"]) [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
UriPermissionOwner.java | 77 UriPermission perm = it.next(); local 78 if (grantUri == null || grantUri.equals(perm.uri)) { 79 perm.removeReadOwner(this); 80 service.removeUriPermissionIfNeededLocked(perm); 92 UriPermission perm = it.next(); local 93 if (grantUri == null || grantUri.equals(perm.uri)) { 94 perm.removeWriteOwner(this); 95 service.removeUriPermissionIfNeededLocked(perm); 105 public void addReadPermission(UriPermission perm) { 109 mReadPerms.add(perm); [all...] |
/external/toybox/tests/ |
find.test | 13 mkdir perm 14 touch perm/all-read-only 15 chmod a=r perm/all-read-only 57 testing "find -perm (exact success)" \ 58 "find perm -type f -perm 0444" "perm/all-read-only\n" "" "" 59 testing "find -perm (exact failure)" \ 60 "find perm -type f -perm 0400" "" "" " [all...] |
/prebuilts/go/darwin-x86/test/bench/shootout/ |
fannkuch.c | 49 Aint* perm; local 62 perm = calloc(n, sizeof(*perm )); 83 for( i=1 ; i<n ; ++i ) { /* perm = perm1 */ 84 perm[i] = perm1[i]; 86 k = perm1[0]; /* cache perm[0] in k */ 90 XCH(perm[i], perm[j]) 94 * Now exchange k (caching perm[0]) and perm[k]... with care [all...] |
fannkuch.go | 53 perm := make([]int, n) 78 for i := 1; i < n; i++ { // perm = perm1 79 perm[i] = perm1[i] 81 k := perm1[0] // cache perm[0] in k 84 perm[i], perm[j] = perm[j], perm[i] 87 // Now exchange k (caching perm[0]) and perm[k]... with care [all...] |
/prebuilts/go/linux-x86/test/bench/shootout/ |
fannkuch.c | 49 Aint* perm; local 62 perm = calloc(n, sizeof(*perm )); 83 for( i=1 ; i<n ; ++i ) { /* perm = perm1 */ 84 perm[i] = perm1[i]; 86 k = perm1[0]; /* cache perm[0] in k */ 90 XCH(perm[i], perm[j]) 94 * Now exchange k (caching perm[0]) and perm[k]... with care [all...] |