Searched refs:uid (Results 76 - 100 of 111) sorted by path

12345

/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dntfs.h52 uid_t uid; member in struct:vnode
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DNode.cpp160 // get the permissions for this uid/gid
162 uid_t uid = geteuid(); local
164 if (uid == 0) {
170 } else if (uid == fUID)
H A DNode.h68 inline void SetUID(uid_t uid) { fUID = uid; MarkModified(B_STAT_UID); } argument
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfStructures.cpp1077 PRINT(("uid: %" B_PRIu32 ", 0x%" B_PRIx32 "\n",
1078 uid(), uid()));
1152 PRINT(("uid: %" B_PRIu32 ", 0x%" B_PRIx32 "\n",
1153 uid(), uid()));
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEFileSystem.cpp204 fuseContext->uid = request->user;
H A DFUSEVolume.cpp1568 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);
H A Dfuse_fs.cpp215 fuse_fs_chown(struct fuse_fs* fs, const char* path, uid_t uid, gid_t gid) argument
219 return fs->ops.chown(path, uid, gid);
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixStreamEndpoint.cpp199 fCredentials.uid = geteuid();
317 fCredentials.uid = geteuid();
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DIMAPConnectionWorker.cpp219 virtual void FetchedData(uint32 fetchFlags, uint32 uid, uint32 flags) argument
222 fFolder.BodyStored(fRef, fFile, uid);
287 virtual void FetchedData(uint32 fetchFlags, uint32 uid, uint32 flags) argument
290 fFolder.MessageStored(fRef, fFile, fetchFlags, uid, flags);
292 uint32 size = fMailbox.MessageSize(uid);
294 fFetchBodies.push_back(uid);
386 B_PRIx32 "\n", entries[i].uid, entries[i].size,
388 fMailbox->AddMessageEntry(from + i, entries[i].uid,
391 if (entries[i].uid > fFolder->LastUID()) {
393 fUIDsToFetch.push_back(entries[i].uid);
650 EnqueueFetchBody(IMAPFolder& folder, uint32 uid, const BMessenger& replyTo) argument
666 EnqueueUpdateFlags(IMAPFolder& folder, uint32 uid, uint32 flags) argument
[all...]
H A DIMAPFolder.cpp147 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...]
H A DIMAPProtocol.cpp175 IMAPProtocol::UpdateMessageFlags(IMAPFolder& folder, uint32 uid, uint32 flags) argument
184 return worker->EnqueueUpdateFlags(folder, uid, flags);
244 uint32 uid;
245 status_t status = folder->GetMessageUID(ref, uid);
254 return worker->EnqueueFetchBody(*folder, uid, replyTo);
/haiku/src/bin/bfs_tools/lib/
H A DInode.cpp538 node->SetOwner(fInode->uid);
H A Dbfs.h118 int32 uid; member in struct:bfs_inode
H A Ddump.cpp136 Print(" uid = %" B_PRIu32 "\n",inode->uid);
/haiku/src/bin/
H A Dlsindex.cpp153 printf("%5d", info.uid);
/haiku/src/bin/network/ping/
H A Dping.c176 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/build/libroot/
H A Dfs.cpp1343 uid_t uid = (flag & AT_EACCESS) != 0 ? geteuid() : getuid(); local
1347 if (uid == 0) {
1354 } else if (st.st_uid == uid) {
/haiku/src/kits/tracker/infowindow/
H A DFilePermissionsView.cpp286 // ownership, i.e. disable text controls if uid:s doesn't match:
292 if (teamInfo.uid != 0 && nodeOwner != teamInfo.uid) {
/haiku/src/servers/input/
H A DAddOnManager.cpp613 int32 uid; local
614 while ((uid = _GetReplicantAt(status, index++)) >= B_OK) {
616 if (_GetReplicantName(status, uid, &replicantInfo) != B_OK)
623 if (_GetReplicantView(status, uid, &replicant) == B_OK) {
655 int32 uid;
656 if ((err = reply.FindInt32("result", &uid)) != B_OK)
659 return uid;
664 AddOnManager::_GetReplicantName(BMessenger target, int32 uid, argument
678 uid_specifier.AddInt32("id", uid);
693 AddOnManager::_GetReplicantView(BMessenger target, int32 uid, argument
[all...]
H A DAddOnManager.h87 int32 uid, BMessage* reply) const;
88 status_t _GetReplicantView(BMessenger target, int32 uid,
/haiku/src/servers/registrar/
H A DAuthenticationManager.cpp128 User(const char* name, const char* password, uid_t uid, gid_t gid, argument
131 fUID(uid),
189 if (message.FindInt32("uid", &intValue) == B_OK)
273 if ((error = message.AddInt32("uid", fUID)) != B_OK
502 User* UserByID(uid_t uid) const
504 map<uid_t, User*>::const_iterator it = fUsersByID.find(uid);
904 int32 uid; local
908 if (message.FindInt32("uid", &uid) == B_OK) {
909 user = fUserDB->UserByID(uid);
1008 int32 uid; local
1080 int32 uid; local
1254 uid_t uid; local
[all...]
/haiku/src/system/kernel/debug/
H A Dcore_dump.cpp1258 note.nt_uid = fTeamInfo.uid;
/haiku/src/system/kernel/device_manager/
H A Ddevfs.cpp96 uid_t uid; member in struct:__anon34::devfs_vnode
275 vnode->uid = geteuid();
1833 stat->st_uid = vnode->uid;
1889 vnode->uid = stat->st_uid;
/haiku/src/system/kernel/fs/
H A Drootfs.cpp71 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...]
H A Dvfs.cpp3983 // get the node permissions for this uid/gid
3985 uid_t uid = geteuid(); local
3987 if (uid == 0) {
3995 } else if (uid == nodeUserID) {

Completed in 215 milliseconds

12345