/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 2143 // get the node permissions for this uid/gid 2145 fssh_uid_t uid = fssh_geteuid(); local 2147 if (uid == 0) { 2155 } else if (uid == nodeUserID) {
|
H A D | fuse.cpp | 281 fuse_chown(const char* path, uid_t uid, gid_t gid) argument 285 st.fssh_st_uid = uid;
|
/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci_acpi.cpp | 185 const char* uid; local 198 if (gDeviceManager->get_attr_string(parent, ACPI_DEVICE_UID_ITEM, &uid, false)) { 199 TRACE("No uid attribute\n"); 203 TRACE("supports_device(hid:%s uid:%s)\n", hid, uid); 222 TRACE("SDHCI Device found! hid: %s, uid: %s\n", hid, uid);
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 454 uid_t uid = geteuid(); local 456 bool isOwnerOrRoot = uid == 0 || uid == (uid_t)node.UserID(); 474 if (uid != 0) 476 node.uid = B_HOST_TO_LENDIAN_INT32(stat->st_uid);
|
H A D | Inode.cpp | 139 inode.uid = B_HOST_TO_LENDIAN_INT32(geteuid());
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 3983 // get the node permissions for this uid/gid 3985 uid_t uid = geteuid(); local 3987 if (uid == 0) { 3995 } else if (uid == nodeUserID) {
|
H A D | rootfs.cpp | 71 uid_t uid; member in struct:__anon39::rootfs_vnode 144 return check_access_permissions(accessMode, dir->stream.type, (gid_t)dir->gid, (uid_t)dir->uid); 192 vnode->uid = geteuid(); 1076 stat->st_uid = vnode->uid; 1095 const uid_t uid = geteuid(); local 1096 const bool isOwnerOrRoot = uid == 0 || uid == (uid_t)vnode->uid; 1119 if (uid != 0) 1121 vnode->uid [all...] |
/haiku/src/add-ons/kernel/bus_managers/acpi/ |
H A D | BusManager.cpp | 534 size_t cidListCount, char** uid, char** cls) 558 if ((info->Valid & ACPI_VALID_UID) != 0 && uid != NULL) 559 *uid = strndup(info->UniqueId.String, info->UniqueId.Length); 533 get_device_info(const char *path, char** hid, char** cidList, size_t cidListCount, char** uid, char** cls) argument
|
H A D | Module.cpp | 105 char* uid = NULL; local 109 &uid, &cls) == B_OK) { 122 if (uid != NULL) { 125 attrs[attrCount].value.string = uid; 156 free(uid);
|
H A D | ACPIPrivate.h | 119 char** cidList, size_t cidListCount, char** uid, char** cls);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/ |
H A D | if_iwx.c | 7155 cmd->uid = htole32(0);
|
H A D | if_iwxreg.h | 6869 * @uid: scan id, &enum iwl_umac_scan_uid_offsets 6898 uint32_t uid; member in struct:iwx_scan_req_umac 7088 * @uid: scan id, &enum iwl_umac_scan_uid_offsets 7093 uint32_t uid; member in struct:iwx_scan_req_umac_v14 7100 * @uid: scan id, &enum iwx_umac_scan_uid_offsets 7104 uint32_t uid; member in struct:iwx_umac_scan_abort 7110 * @uid: scan id, &enum iwx_umac_scan_uid_offsets 7119 uint32_t uid; member in struct:iwx_umac_scan_complete 7174 * @uid: scan id, &enum iwx_umac_scan_uid_offsets 7185 uint32_t uid; member in struct:iwx_umac_scan_iter_complete_notif [all...] |
/haiku/src/bin/network/ping/ |
H A D | ping.c | 176 static int uid; /* cached uid for micro-optimization */ variable 269 uid = getuid(); 329 if (uid) { 344 if (uid != 0 && sweepmax > DEFDATALEN) { 358 if (uid != 0 && sweepmin > DEFDATALEN) { 375 if (uid != 0 && sweepincr > DEFDATALEN) { 396 if (uid && interval < 1000) { 410 if (uid) { 482 if (uid ! [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSEVolume.cpp | 1568 uid_t uid = (mask & B_STAT_UID) != 0 ? st->st_uid : (uid_t)-1; local 1570 int fuseError = fuse_fs_chown(fFS, path, uid, gid);
|
/haiku/headers/os/drivers/ |
H A D | ACPI.h | 256 char** cidList, size_t cidListLength, char** uid, char** cls); 321 #define ACPI_DEVICE_UID_ITEM "acpi/uid"
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.cpp | 2738 node->uid = HOST_ENDIAN_TO_BFS_INT32(geteuid());
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 628 uid_t uid = geteuid(); local 630 bool isOwnerOrRoot = uid == 0 || uid == (uid_t)node.UserID(); 673 if (uid != 0)
|
/haiku/src/add-ons/kernel/network/protocols/unix/ |
H A D | UnixStreamEndpoint.cpp | 199 fCredentials.uid = geteuid(); 317 fCredentials.uid = geteuid();
|
/haiku/src/system/kernel/posix/ |
H A D | xsi_semaphore.cpp | 268 fPermissions.uid = result->sem_perm.uid; 279 uid_t uid = geteuid(); 280 if (uid == 0 || (uid == fPermissions.uid 459 fPermissions.uid = fPermissions.cuid = geteuid();
|
H A D | xsi_message_queue.cpp | 118 fMessageQueue.msg_perm.uid = result->msg_perm.uid; 150 uid_t uid = geteuid(); 151 if (uid == 0 || (uid == fMessageQueue.msg_perm.uid 210 fMessageQueue.msg_perm.uid = fMessageQueue.msg_perm.cuid = geteuid();
|
/haiku/src/system/kernel/debug/ |
H A D | core_dump.cpp | 1258 note.nt_uid = fTeamInfo.uid;
|
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | kernel_interface.cpp | 215 // TODO: uid/gid mapping and real permissions 235 root->uid = root->gid = 0; 341 node->uid = statbuf.st_uid; 647 const bool isOwnerOrRoot = (euid == 0 || euid == (uid_t)node->uid); 675 if (node->uid != stat->st_uid) 1082 return check_access_permissions(accessMode, node->mode, node->gid, node->uid);
|
/haiku/headers/os/kernel/ |
H A D | OS.h | 248 uid_t uid; member in struct:__anon3
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/ |
H A D | IMAPFolder.cpp | 147 uint32 uid; member in struct:entry 160 uint32 uid = B_BENDIAN_TO_HOST_INT32(entries[i].uid); local 163 fFlagsMap.insert(std::make_pair(uid, flags)); 199 IMAPFolder::GetMessageEntryRef(uint32 uid, entry_ref& ref) argument 202 return _GetMessageEntryRef(uid, ref); 207 IMAPFolder::GetMessageUID(const entry_ref& ref, uint32& uid) const 214 uid = _ReadUniqueID(node); 215 if (uid == 0) 223 IMAPFolder::MessageFlags(uint32 uid) argument 238 SyncMessageFlags(uint32 uid, uint32 mailboxFlags) argument 318 uint32 uid = iterator->first; local 366 MessageStored(entry_ref& ref, BFile& file, uint32 fetchFlags, uint32 uid, uint32 flags) argument 437 StoreBody(uint32 uid, BDataIO& stream, size_t& length, entry_ref& ref, BFile& file) argument 459 BodyStored(entry_ref& ref, BFile& file, uint32 uid) argument 470 StoringBodyFailed(const entry_ref& ref, uint32 uid, status_t error) argument 477 DeleteMessage(uint32 uid) argument 538 uint32 uid = _ReadUniqueID(node); local 595 _NotifyStoredBody(const entry_ref& ref, uint32 uid, status_t status) argument 612 _GetMessageEntryRef(uint32 uid, entry_ref& ref) const argument 624 _DeleteLocalMessage(uint32 uid) argument 718 string << uid; local [all...] |
/haiku/src/system/libroot/posix/ |
H A D | pwd_query.c | 59 static const char *B_PW_UID = "sys:user:uid"; 65 static const char *Q_PW_ALL = "sys:user:uid>-1"; 66 static const char *QT_PW_UID = "sys:user:uid==%d"; 379 PRINT(("%s: got uid\n", __FUNCTION__)); 535 struct passwd *getpwuid(uid_t uid) argument 543 PRINT(("%s(%d)\n", __FUNCTION__, uid)); 552 sprintf(p->pwfile, QT_PW_UID, uid);
|