/kernel/linux/linux-5.10/security/keys/ |
H A D | keyctl.c | 639 * type;uid;gid;perm;description<NUL> 684 from_kgid_munged(current_user_ns(), key->gid), in keyctl_describe_key() 940 * caller must have sysadmin capability. If either uid or gid is -1 then that 956 kgid_t gid; in keyctl_chown_key() local 959 gid = make_kgid(current_user_ns(), group); in keyctl_chown_key() 963 if ((group != (gid_t) -1) && !gid_valid(gid)) in keyctl_chown_key() 992 if (group != (gid_t) -1 && !gid_eq(gid, key->gid) && !in_group_p(gid)) in keyctl_chown_key() 1045 key->gid in keyctl_chown_key() [all...] |
/kernel/linux/linux-6.6/security/keys/ |
H A D | keyctl.c | 639 * type;uid;gid;perm;description<NUL> 684 from_kgid_munged(current_user_ns(), key->gid), in keyctl_describe_key() 940 * caller must have sysadmin capability. If either uid or gid is -1 then that 956 kgid_t gid; in keyctl_chown_key() local 959 gid = make_kgid(current_user_ns(), group); in keyctl_chown_key() 963 if ((group != (gid_t) -1) && !gid_valid(gid)) in keyctl_chown_key() 992 if (group != (gid_t) -1 && !gid_eq(gid, key->gid) && !in_group_p(gid)) in keyctl_chown_key() 1045 key->gid in keyctl_chown_key() [all...] |
/kernel/linux/linux-5.10/net/9p/ |
H A D | client.c | 1288 kgid_t gid, struct p9_qid *qid) in p9_client_create_dotl() 1296 ">>> TLCREATE fid %d name %s flags %d mode %d gid %d\n", in p9_client_create_dotl() 1298 from_kgid(&init_user_ns, gid)); in p9_client_create_dotl() 1305 mode, gid); in p9_client_create_dotl() 1378 const char *symtgt, kgid_t gid, struct p9_qid *qid) in p9_client_symlink() 1389 gid); in p9_client_symlink() 1728 "<<< name=%s uid=%s gid=%s muid=%s extension=(%s)\n" in p9_client_stat() 1729 "<<< uid=%d gid=%d n_muid=%d\n", in p9_client_stat() 1733 ret->name, ret->uid, ret->gid, ret->muid, ret->extension, in p9_client_stat() 1815 /* name[s] uid[s] gid[ in p9_client_statsize() 1287 p9_client_create_dotl(struct p9_fid *ofid, const char *name, u32 flags, u32 mode, kgid_t gid, struct p9_qid *qid) p9_client_create_dotl() argument 1377 p9_client_symlink(struct p9_fid *dfid, const char *name, const char *symtgt, kgid_t gid, struct p9_qid *qid) p9_client_symlink() argument 2144 p9_client_mknod_dotl(struct p9_fid *fid, const char *name, int mode, dev_t rdev, kgid_t gid, struct p9_qid *qid) p9_client_mknod_dotl() argument 2175 p9_client_mkdir_dotl(struct p9_fid *fid, const char *name, int mode, kgid_t gid, struct p9_qid *qid) p9_client_mkdir_dotl() argument [all...] |
/kernel/linux/linux-6.6/net/9p/ |
H A D | client.c | 1262 u32 mode, kgid_t gid, struct p9_qid *qid) in p9_client_create_dotl() 1270 ">>> TLCREATE fid %d name %s flags %d mode %d gid %d\n", in p9_client_create_dotl() 1272 from_kgid(&init_user_ns, gid)); in p9_client_create_dotl() 1279 mode & P9L_MODE_MASK, gid); in p9_client_create_dotl() 1349 const char *symtgt, kgid_t gid, struct p9_qid *qid) in p9_client_symlink() 1360 gid); in p9_client_symlink() 1696 "<<< name=%s uid=%s gid=%s muid=%s extension=(%s)\n" in p9_client_stat() 1697 "<<< uid=%d gid=%d n_muid=%d\n", in p9_client_stat() 1701 ret->name, ret->uid, ret->gid, ret->muid, ret->extension, in p9_client_stat() 1783 /* name[s] uid[s] gid[ in p9_client_statsize() 1261 p9_client_create_dotl(struct p9_fid *ofid, const char *name, u32 flags, u32 mode, kgid_t gid, struct p9_qid *qid) p9_client_create_dotl() argument 1348 p9_client_symlink(struct p9_fid *dfid, const char *name, const char *symtgt, kgid_t gid, struct p9_qid *qid) p9_client_symlink() argument 2103 p9_client_mknod_dotl(struct p9_fid *fid, const char *name, int mode, dev_t rdev, kgid_t gid, struct p9_qid *qid) p9_client_mknod_dotl() argument 2133 p9_client_mkdir_dotl(struct p9_fid *fid, const char *name, int mode, kgid_t gid, struct p9_qid *qid) p9_client_mkdir_dotl() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageAtomicOperationTests.cpp | 1559 const IVec3 gid(x + i*gridSize.x(), y, z); in verifyResult() 1561 (*((deInt64*)resultValue) == getAtomicFuncArgument<deInt64>(m_operation, gid, extendedGridSize)) : in verifyResult() 1563 floatToIntValue == getAtomicFuncArgument<deInt32>(m_operation, gid, extendedGridSize) : in verifyResult() 1564 (*((deInt32*)resultValue) == getAtomicFuncArgument<deInt32>(m_operation, gid, extendedGridSize)); in verifyResult() 1578 const IVec3 gid(x + i*gridSize.x(), y, z); in verifyResult() 1580 (*((deInt64*)resultValue) == getAtomicFuncArgument<deInt64>(m_operation, gid, extendedGridSize)) : in verifyResult() 1582 floatToIntValue == getAtomicFuncArgument<deInt32>(m_operation, gid, extendedGridSize) : in verifyResult() 1583 (*((deInt32*)resultValue) == getAtomicFuncArgument<deInt32>(m_operation, gid, extendedGridSize)); in verifyResult() 1601 const IVec3 gid(x + i*gridSize.x(), y, z); in isValueCorrect() 1602 T arg = getAtomicFuncArgument<T>(m_operation, gid, extendedGridSiz in isValueCorrect() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageAtomicOperationTests.cpp | 1563 const IVec3 gid(x + i*gridSize.x(), y, z); in verifyResult() 1565 (*((deInt64*)resultValue) == getAtomicFuncArgument<deInt64>(m_operation, gid, extendedGridSize)) : in verifyResult() 1567 floatToIntValue == getAtomicFuncArgument<deInt32>(m_operation, gid, extendedGridSize) : in verifyResult() 1568 (*((deInt32*)resultValue) == getAtomicFuncArgument<deInt32>(m_operation, gid, extendedGridSize)); in verifyResult() 1582 const IVec3 gid(x + i*gridSize.x(), y, z); in verifyResult() 1584 (*((deInt64*)resultValue) == getAtomicFuncArgument<deInt64>(m_operation, gid, extendedGridSize)) : in verifyResult() 1586 floatToIntValue == getAtomicFuncArgument<deInt32>(m_operation, gid, extendedGridSize) : in verifyResult() 1587 (*((deInt32*)resultValue) == getAtomicFuncArgument<deInt32>(m_operation, gid, extendedGridSize)); in verifyResult() 1605 const IVec3 gid(x + i*gridSize.x(), y, z); in isValueCorrect() 1606 T arg = getAtomicFuncArgument<T>(m_operation, gid, extendedGridSiz in isValueCorrect() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_ver_relational_storage_extend_executor.cpp | 41 std::string gid; in GetQueryInfoSql() local 42 int errCode = CloudStorageUtils::GetValueFromVBucket(CloudDbConstant::GID_FIELD, vBucket, gid); in GetQueryInfoSql() 44 LOGE("Get cloud gid fail when query log table."); in GetQueryInfoSql() 48 if (pkSet.empty() && gid.empty()) { in GetQueryInfoSql() 49 LOGE("query log table failed because of both primary key and gid are empty."); in GetQueryInfoSql() 61 if (!gid.empty()) { in GetQueryInfoSql() 102 LOGE("Miss gid when fill Asset."); in FillCloudAssetForDownload() 118 LOGE("get assets by gid or hashkey failed %d.", errCode); in FillCloudAssetForDownload() 147 const std::string &gid) in IncreaseCursorOnAssetData() 173 errCode = SQLiteUtils::BindTextToStatement(statement, index, gid); in IncreaseCursorOnAssetData() 146 IncreaseCursorOnAssetData(const std::string &tableName, const std::string &gid) IncreaseCursorOnAssetData() argument 895 std::string gid; GetReferenceGidByStmt() local 1072 BindStmtWithCloudGidInner(const std::string &gid, int64_t rowid, sqlite3_stmt *&stmt, int &fillGidCount) BindStmtWithCloudGidInner() argument 1266 GetAssetsByGidOrHashKey( const TableSchema &tableSchema, const std::string &gid, const Bytes &hashKey, VBucket &assets) GetAssetsByGidOrHashKey() argument 1320 InitGetAssetStmt(const std::string &sql, const std::string &gid, const Bytes &hashKey, sqlite3_stmt *&stmt) InitGetAssetStmt() argument [all...] |
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_file_utils.cpp | 147 bool BundleFileUtils::ChownFile(const char *file, int32_t uid, int32_t gid) in ChownFile() argument 152 return chown(file, uid, gid) == 0; in ChownFile()
|
/foundation/multimodalinput/input/service/module_loader/src/ |
H A D | watchdog_task.cpp | 147 uint32_t gid = getgid(); in SendEvent() local 155 "TGID", gid, in SendEvent()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | compat_linux.h | 95 long compat_sys_s390_setgid16(u16 gid); 103 long compat_sys_s390_setfsgid16(u16 gid);
|
/kernel/linux/linux-5.10/tools/testing/selftests/mount/ |
H A D | nosymfollow-test.c | 97 gid_t gid = getgid(); in create_and_enter_ns() local 104 write_file("/proc/self/gid_map", "0 %d 1", gid); in create_and_enter_ns()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 46 static void format_gid(union ib_gid *gid, char *buf) in format_gid() argument 52 be16_to_cpu(((__be16 *) gid->raw)[i])); in format_gid()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | lag.c | 52 memcpy(&iph->saddr, ah_attr->grh.sgid_attr->gid.raw + 12, in rdma_build_skb() 64 memcpy(&ip6h->saddr, ah_attr->grh.sgid_attr->gid.raw, in rdma_build_skb()
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | smbacl.h | 168 kgid_t gid; member 205 unsigned int uid, unsigned int gid);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | kobject.h | 113 void kobject_get_ownership(const struct kobject *kobj, kuid_t *uid, kgid_t *gid); 122 void (*get_ownership)(const struct kobject *kobj, kuid_t *uid, kgid_t *gid);
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | lag.c | 51 memcpy(&iph->saddr, ah_attr->grh.sgid_attr->gid.raw + 12, in rdma_build_skb() 63 memcpy(&ip6h->saddr, ah_attr->grh.sgid_attr->gid.raw, in rdma_build_skb()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 46 static void format_gid(union ib_gid *gid, char *buf) in format_gid() argument 52 be16_to_cpu(((__be16 *) gid->raw)[i])); in format_gid()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mount/ |
H A D | nosymfollow-test.c | 97 gid_t gid = getgid(); in create_and_enter_ns() local 104 write_file("/proc/self/gid_map", "0 %d 1", gid); in create_and_enter_ns()
|
/third_party/cups-filters/fontembed/ |
H A D | test_pdf.c | 57 const unsigned short gid=emb_get(emb,(unsigned char)str[iA]); in write_string() local 58 fprintf(f,"%04x",gid); in write_string()
|
/third_party/libuv/test/ |
H A D | run-tests.c | 252 uv_gid_t gid = atoi(argv[3]); in maybe_run_test() local 255 ASSERT_EQ(gid, getgid()); in maybe_run_test()
|
/third_party/skia/third_party/externals/freetype/src/gxvalid/ |
H A D | gxvprop.c | 78 gxv_prop_zero_advance_validate( FT_UShort gid, in gxv_prop_zero_advance_validate() argument 91 gid, in gxv_prop_zero_advance_validate() 139 /* The gid for complement must be greater than 0 */ in gxv_prop_property_validate() 148 /* The gid for complement must be the face. */ in gxv_prop_property_validate()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_installer.cpp | 135 .gid = INVALID_GID in Install() 146 HILOG_ERROR(HILOG_MODULE_APP, "backup uid and gid info fail!"); in Install() 233 bundleInfo->gid = installRecord.uid; in ProcessBundleInstall() 369 record.gid = record.uid; in HandleFileAndBackUpRecord() 370 bool isChown = ((record.uid != INVALID_UID) && (record.gid != INVALID_GID)); in HandleFileAndBackUpRecord() 373 dataPath.c_str(), record.uid, record.gid, isChown) != EC_SUCCESS) { in HandleFileAndBackUpRecord() 384 record.gid = bundleInfo->gid; in HandleFileAndBackUpRecord() 461 // delete uid and gid info in Uninstall()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_db_proxy.cpp | 250 int CloudDBProxy::Download(const std::string &tableName, const std::string &gid, const Type &prefix, in Download() argument 261 DBStatus status = iAssetLoader_->Download(tableName, gid, prefix, assets); in Download() 286 int CloudDBProxy::RemoveLocalAssets(const std::string &tableName, const std::string &gid, const Type &prefix, in RemoveLocalAssets() argument 297 DBStatus status = iAssetLoader_->RemoveLocalAssets(tableName, gid, prefix, assets); in RemoveLocalAssets() 614 auto gid = std::get_if<std::string>(&extend.at(CloudDbConstant::GID_FIELD)); in IsRecordActionFail() local 615 if (gid == nullptr || (isInsert && (*gid).empty())) { in IsRecordActionFail()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4acl.c | 397 * by uid/gid. */ in sort_pacl() 429 kgid_t gid; member 542 pace->e_gid = state->groups->aces[i].gid; in posix_state_to_acl() 588 static int find_gid(struct posix_acl_state *state, kgid_t gid) in find_gid() argument 594 if (gid_eq(a->aces[i].gid, gid)) in find_gid() 598 a->aces[i].gid = gid; in find_gid()
|
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | super.c | 225 {Opt_gid, "gid=%u"}, 349 char *gid = args[0].from; in parse_options() local 351 int rc = kstrtouint(gid, 0, &val); in parse_options() 355 sbi->gid = make_kgid(current_user_ns(), val); in parse_options() 356 if (!gid_valid(sbi->gid)) in parse_options() 510 sbi->gid = INVALID_GID; in jfs_fill_super() 703 if (gid_valid(sbi->gid)) in jfs_show_options() 704 seq_printf(seq, ",gid=%d", from_kgid(&init_user_ns, sbi->gid)); in jfs_show_options()
|