Searched refs:uid (Results 51 - 75 of 111) sorted by relevance

12345

/haiku/src/system/libroot/posix/
H A Duser_group_common.cpp176 uid_t uid, gid_t gid, const char* home, const char* shell,
179 entry->pw_uid = uid;
209 uid_t& uid, gid_t& gid, char*& home, char*& shell, char*& realName)
233 uid = atoi(userID);
175 copy_passwd_to_buffer(const char* name, const char* password, uid_t uid, gid_t gid, const char* home, const char* shell, const char* realName, passwd* entry, char* buffer, size_t bufferSize) argument
208 parse_passwd_line(char* line, char*& name, char*& password, uid_t& uid, gid_t& gid, char*& home, char*& shell, char*& realName) argument
H A Dpwd_query.c59 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);
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dnfs_add_on.h33 uid_t uid; member in struct:mount_nfs_params
/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/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...]
/haiku/src/system/kernel/posix/
H A Dxsi_semaphore.cpp268 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 Drealtime_sem.cpp112 uid_t uid = geteuid();
113 if (uid == 0 || (uid == fUID && (fPermissions & S_IWUSR) != 0))
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dacls.c339 * and <= 0x7fffffff, so that 30 bits from a uid and 30 more bits
356 * Compute the uid or gid associated to a SID
366 u32 xid; /* uid or gid */
417 uid_t uid, SID *defusid)
425 if (!uid)
429 while (p && p->xid && ((uid_t)p->xid != uid))
441 uauth = le32_to_cpu(leauth) + 2*(uid & 0x3fffffff);
443 if (uid & 0xc0000000) {
445 uauth = le32_to_cpu(leauth) + ((uid >> 30) & 3);
506 uid_t uid; local
416 ntfs_find_usid(const struct MAPPING* usermapping, uid_t uid, SID *defusid) argument
3699 uid_t uid; local
4376 int uid; local
[all...]
H A Dacls.h108 char *uidstr; /* uid text from the same record */
139 uid_t uid, SID *pdefsid);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_config.c58 FUSE_LIB_OPT("uid=", set_uid, 1),
59 FUSE_LIB_OPT("uid=%d", uid, 0),
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/bin/
H A Dps.c76 printf(Infos[Uid].format, teamInfo->uid);
H A Dlsindex.cpp153 printf("%5d", info.uid);
/haiku/src/system/libroot/posix/sys/
H A Dpriority.c155 if (team.uid != euid)
/haiku/headers/os/interface/
H A DShelf.h77 uint32* uid = NULL,
/haiku/src/tests/system/libroot/posix/
H A Dxsi_sem_test1.cpp288 semaphore.sem_perm.uid = getuid() + 3;
303 TEST("semctl(IPC_STAT): uid");
304 assert_equals(args.buf->sem_perm.uid, getuid() + 3);
/haiku/src/add-ons/kernel/file_systems/bfs/
H A Dbfs.h197 int32 uid; member in struct:BFS::bfs_inode
222 int32 UserID() const { return BFS_ENDIAN_TO_HOST_INT32(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/add-ons/kernel/bus_managers/acpi/
H A DBusManager.cpp534 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
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dlowntfs.c83 scx->uid = 0;
308 stbuf->st_uid = ctx->uid;
680 security.uid, gid,
684 security.uid, gid,
743 security.uid, gid,
749 security.uid, gid,
/haiku/headers/private/userlandfs/fuse/
H A Dfuse.h599 * The uid, gid and pid fields are not filled in case of a writepage
607 uid_t uid; member in struct:fuse_context
863 int fuse_fs_chown(struct fuse_fs *fs, const char *path, uid_t uid, gid_t gid);
/haiku/headers/posix/
H A Dunistd.h454 extern int setuid(uid_t uid);
456 extern int seteuid(uid_t uid);
/haiku/src/tools/fs_shell/
H A Dfuse.cpp281 fuse_chown(const char* path, uid_t uid, gid_t gid) argument
285 st.fssh_st_uid = uid;
/haiku/src/add-ons/kernel/file_systems/udf/
H A DIcb.h94 uint32 Uid() { return _FileEntry()->uid(); }
/haiku/headers/posix/sys/
H A Dsocket.h156 uid_t uid; /* UID of sender */ member in struct:ucred

Completed in 198 milliseconds

12345