/freebsd-12-stable/contrib/sendmail/libsmdb/ |
H A D | smndbm.c | 239 smndbm_set_owner(database, uid, gid) 242 gid_t gid; 253 result = fchown(fd, uid, gid); 261 result = fchown(fd, uid, gid);
|
/freebsd-12-stable/contrib/amd/conf/nfs_prot/ |
H A D | nfs_prot_freebsd3.h | 102 #define na_gid gid
|
/freebsd-12-stable/contrib/bmake/mk/ |
H A D | manifest.mk | 64 @(${${.TARGET}.DIRS:O:u:@d@echo '$d type=dir uid=${UID:${M_DIR_ATTR}} gid=${GID:${M_DIR_ATTR}} mode=${MODE:${M_DIR_ATTR}} ${FLAGS:${M_DIR_ATTR}}';@} \ 65 ${${.TARGET}.DIRS:O:u:@d@${${.TARGET}.SRCS.$d:O:u:@f@echo '${s::=${STORE.$d/${f:T}:U$d/${f:T}}}$s contents="$f" type=file uid=${UID:${M_FILE_ATTR}} gid=${GID:${M_FILE_ATTR}} mode=${MODE:${M_FILE_ATTR}} ${FLAGS:${M_FILE_ATTR}}';@}@} \
|
/freebsd-12-stable/lib/libc/rpc/ |
H A D | key_prot_xdr.c | 125 if (!xdr_u_int(xdrs, &objp->gid))
|
/freebsd-12-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_cm.c | 366 union ib_gid gid; local 371 gid = gid_from_req_msg(ibdev, mad); 372 *slave = mlx4_ib_find_real_gid(ibdev, port, gid.global.interface_id); 374 mlx4_ib_warn(ibdev, "failed matching slave_id by gid (0x%llx)\n", 375 (unsigned long long)gid.global.interface_id);
|
/freebsd-12-stable/sys/kgssapi/ |
H A D | gss_pname_to_uid.c | 121 *gidp = res.gid;
|
/freebsd-12-stable/tests/sys/audit/ |
H A D | file-attribute-modify.c | 44 static gid_t gid = -1; variable 393 ATF_REQUIRE_EQ(0, chown(path, uid, gid)); 415 ATF_REQUIRE_EQ(-1, chown(errpath, uid, gid)); 440 ATF_REQUIRE_EQ(0, fchown(filedesc, uid, gid)); 463 ATF_REQUIRE_EQ(-1, fchown(-1, uid, gid)); 485 ATF_REQUIRE_EQ(0, lchown(path, uid, gid)); 506 ATF_REQUIRE_EQ(-1, lchown(errpath, uid, gid)); 528 ATF_REQUIRE_EQ(0, fchownat(AT_FDCWD, path, uid, gid, 0)); 550 ATF_REQUIRE_EQ(-1, fchownat(AT_FDCWD, errpath, uid, gid, 0));
|
/freebsd-12-stable/tests/sys/mac/portacl/ |
H A D | misc.sh | 30 uid|gid) 79 elif [ "${idtype}" = "gid" ]; then
|
/freebsd-12-stable/include/rpc/ |
H A D | rpcsec_gss.h | 102 gid_t gid; /* group ID */ member in struct:__anon8367
|
/freebsd-12-stable/usr.sbin/cron/cron/ |
H A D | do_command.c | 55 getpid(), e->cmd, u->name, e->uid, e->gid)) 290 pwd->pw_gid = e->gid; 302 /* set our directory, uid and gid. Set gid first, 305 if (setgid(e->gid) != 0) { 311 if (initgroups(usernm, e->gid) != 0) {
|
/freebsd-12-stable/tools/tools/build_option_survey/ |
H A D | reduce.sh | 22 mtree -k uid,gid,mode,nlink,size,link,type,flags \
|
/freebsd-12-stable/contrib/apr/locks/unix/ |
H A D | proc_mutex.c | 43 apr_gid_t gid) 427 apr_gid_t gid) 433 buf.sem_perm.gid = gid; 1127 apr_gid_t gid) 1132 gid = -1; 1133 if (fchown(mutex->os.crossproc, uid, gid) < 0) { 1301 apr_gid_t gid) 1306 gid = -1; 1307 if (fchown(mutex->os.crossproc, uid, gid) < 40 proc_mutex_no_perms_set(apr_proc_mutex_t *mutex, apr_fileperms_t perms, apr_uid_t uid, apr_gid_t gid) argument 424 proc_mutex_sysv_perms_set(apr_proc_mutex_t *mutex, apr_fileperms_t perms, apr_uid_t uid, apr_gid_t gid) argument 1124 proc_mutex_fcntl_perms_set(apr_proc_mutex_t *mutex, apr_fileperms_t perms, apr_uid_t uid, apr_gid_t gid) argument 1298 proc_mutex_flock_perms_set(apr_proc_mutex_t *mutex, apr_fileperms_t perms, apr_uid_t uid, apr_gid_t gid) argument [all...] |
/freebsd-12-stable/sys/kern/ |
H A D | kern_conf.c | 62 int unit, struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt, 856 struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt, 866 args.mda_gid = gid; 873 make_dev(struct cdevsw *devsw, int unit, uid_t uid, gid_t gid, int mode, argument 881 res = make_dev_credv(0, &dev, devsw, unit, NULL, uid, gid, mode, fmt, 891 gid_t gid, int mode, const char *fmt, ...) 898 res = make_dev_credv(0, &dev, devsw, unit, cr, uid, gid, mode, fmt, ap); 908 uid_t uid, gid_t gid, int mode, const char *fmt, ...) 915 res = make_dev_credv(flags, &dev, devsw, unit, cr, uid, gid, mode, 927 struct ucred *cr, uid_t uid, gid_t gid, in 855 make_dev_credv(int flags, struct cdev **dres, struct cdevsw *devsw, int unit, struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt, va_list ap) argument 890 make_dev_cred(struct cdevsw *devsw, int unit, struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt, ...) argument 907 make_dev_credf(int flags, struct cdevsw *devsw, int unit, struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt, ...) argument 926 make_dev_p(int flags, struct cdev **cdev, struct cdevsw *devsw, struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt, ...) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
H A D | PlatformPOSIX.cpp | 211 uint32_t gid = UINT32_MAX) { 215 if (uid == UINT32_MAX && gid == UINT32_MAX) 222 if (gid != UINT32_MAX) 223 command.Printf(":%d", gid); 234 uint32_t gid) { 241 // chown uid:gid dst 255 if (uid == UINT32_MAX && gid == UINT32_MAX) 257 if (chown_file(this, dst_path.c_str(), uid, gid) != 0) 285 // if (chown_file(this,dst_path.c_str(),uid,gid) != 0) 293 return Platform::PutFile(source, destination, uid, gid); 232 PutFile(const lldb_private::FileSpec &source, const lldb_private::FileSpec &destination, uint32_t uid, uint32_t gid) argument [all...] |
/freebsd-12-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibping.c | 213 {"dgid", 25, 1, NULL, "remote gid (IPv6 format)"}, 255 memcpy(&portid.gid, &dgid, sizeof(portid.gid));
|
/freebsd-12-stable/contrib/ofed/libcxgb4/ |
H A D | libcxgb4.h | 224 int c4iw_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, 226 int c4iw_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
|
/freebsd-12-stable/contrib/ofed/libibmad/ |
H A D | mad.c | 186 memcpy(addr.gid, dport->gid, 16);
|
/freebsd-12-stable/contrib/ofed/libibumad/ |
H A D | sysfs.c | 100 union umad_gid *gid) 103 __be16 *ugid = (__be16 *) gid; 99 sys_read_gid(const char *dir_name, const char *file_name, union umad_gid *gid) argument
|
/freebsd-12-stable/contrib/openbsm/bin/auditd/ |
H A D | auditd_darwin.c | 93 auditd_openlog(int debug, gid_t gid) argument 110 asprintf(&cp, "%u", gid);
|
/freebsd-12-stable/contrib/binutils/include/coff/ |
H A D | xcoff.h | 548 char gid[12]; member in struct:xcoff_ar_hdr 586 char gid[12]; member in struct:xcoff_ar_hdr_big
|
/freebsd-12-stable/bin/pax/ |
H A D | tar.c | 401 arcn->sb.st_gid = (gid_t)asc_ul(hd->gid, sizeof(hd->gid), OCT); 630 ul_oct((u_long)arcn->sb.st_gid, hd->gid, sizeof(hd->gid), 0) || 790 * and group files we will use the uid's and gid they bind. Otherwise 791 * we use the uid and gid values stored in the header. (This is what 796 arcn->sb.st_gid = (gid_t)asc_ul(hd->gid, sizeof(hd->gid), OCT); 1036 ul_oct((u_long)arcn->sb.st_gid, hd->gid, sizeof(hd->gid), [all...] |
/freebsd-12-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 49 static void format_gid(union ib_gid *gid, char *buf) argument 55 be16_to_cpu(((__be16 *) gid->raw)[i]));
|
/freebsd-12-stable/tools/regression/priv/ |
H A D | main.h | 49 void setup_dir(const char *test, char *dpathp, uid_t uid, gid_t gid, 51 void setup_file(const char *test, char *fpathp, uid_t uid, gid_t gid,
|
/freebsd-12-stable/sys/dev/cxgb/ |
H A D | bin2h.pl | 62 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
|
/freebsd-12-stable/usr.bin/newgrp/ |
H A D | newgrp.c | 200 /* Remove requested gid from supp. list if it exists. */ 225 /* Add old effective gid to supp. list if it does not exist. */ 245 inarray(gid_t gid, const gid_t grps[], int ngrps) argument 250 if (grps[i] == gid)
|