Lines Matching defs:uid

677 _PyLong_FromUid(uid_t uid)
679 if (uid == (uid_t)-1)
681 return PyLong_FromUnsignedLong(uid);
695 uid_t uid;
704 "uid should be integer, not %.200s",
725 uid = (uid_t)result;
740 (long)uid != result)
760 uid = (uid_t)uresult;
763 * If uid == (uid_t)-1, the user actually passed in ULONG_MAX,
769 if (uid == (uid_t)-1)
774 (unsigned long)uid != uresult)
780 *p = uid;
785 "uid is less than minimum");
790 "uid is greater than maximum");
2119 (mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime)\n\
2957 If True, access will use the effective uid/gid instead of
2958 the real uid/gid.
2965 Use the real uid/gid to test for access to a path.
2972 Note that most operations will use the effective uid/gid, therefore this
3617 uid: uid_t
3633 Change the owner and group id of path to the numeric uid and gid.\
3651 os_chown_impl(PyObject *module, path_t *path, uid_t uid, gid_t gid,
3669 if (PySys_Audit("os.chown", "OIIi", path->object, uid, gid,
3677 result = fchown(path->fd, uid, gid);
3682 result = lchown(path->narrow, uid, gid);
3688 result = fchownat(dir_fd, path->narrow, uid, gid,
3695 result = chown(path->narrow, uid, gid);
3721 uid: uid_t
3726 Equivalent to os.chown(fd, uid, gid).
3731 os_fchown_impl(PyObject *module, int fd, uid_t uid, gid_t gid)
3737 if (PySys_Audit("os.chown", "iIIi", fd, uid, gid, -1) < 0) {
3743 res = fchown(fd, uid, gid);
3759 uid: uid_t
3762 Change the owner and group id of path to the numeric uid and gid.
3765 Equivalent to os.chown(path, uid, gid, follow_symlinks=False).
3769 os_lchown_impl(PyObject *module, path_t *path, uid_t uid, gid_t gid)
3773 if (PySys_Audit("os.chown", "OIIi", path->object, uid, gid, -1) < 0) {
3777 res = lchown(path->narrow, uid, gid);
8174 uid: uid_t
8181 os_setuid_impl(PyObject *module, uid_t uid)
8184 if (setuid(uid) < 0)
10964 http://www-01.ibm.com/support/docview.wss?uid=isg1IV56170 */