summaryrefslogtreecommitdiffstats
path: root/sbin/mountd/mountd.c
AgeCommit message (Expand)AuthorFilesLines
2020-01-24simplify, no need to make a copy of the filename, pointer is fineespie1-3/+6
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-5/+5
2018-04-28Ignore SIGPIPE in case a TCP client resets the connectguenther1-1/+2
2015-12-23Remove unnecessary SIGSYS/ENOSYS handling for getfh(2).tim1-8/+1
2015-12-23Add privilege separation and pledge().tim1-68/+431
2015-12-15When (re)reading /etc/exports, handle the case where the mount point of antim1-2/+4
2015-12-10Remove NULL-checks before free(). ok tb@mmcc1-5/+3
2015-08-20Two reallocarray() conversions that were missed earlier.millert1-2/+2
2015-08-20<stdlib.h> is included, so do not need to cast result fromderaadt1-15/+12
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-8/+9
2014-11-20remove sys/file.h includes in favor of fcntl.h where needed.tedu1-2/+1
2014-10-22Use svc_getreq_poll() instead of svc_getreqset2() for mountd'smillert1-23/+20
2014-08-24Remove imaginary non-reserved port support from mountd.doug1-9/+5
2014-05-16Zero out grp before re-using it (new ones are already cleared bymillert1-1/+3
2014-04-22malloc/memset -> calloc. from peter malonetedu1-5/+3
2014-03-24Split the API: struct ucred remains the kernel internal structure whileguenther1-19/+15
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.deraadt1-5/+5
2010-03-22report why getgrouplist() failed and for which user, helps with debugging;otto1-2/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
2007-12-30use the same argument name in synopsis and usage; lowercase "usage:"sobrado1-2/+2
2007-06-01remove crufty adosfs. everytime we try to change a vfs layer interface,deraadt1-4/+1
2006-05-29revert vfs.nfs.privport sysctl, broke a few architecturesavsm1-40/+2
2006-05-28Add support for NFS mounts to be from non-reserved ports:avsm1-2/+40
2005-09-20if we must un-export, only un-export when we do the first call forderaadt1-1/+2
2005-09-13Only DELEXPORT filesystems which are not exported. Removes NFS race whendrahn1-17/+60
2005-04-08Sync with recent realpath(3) changes: on failure, don't use the secondjaredy1-4/+8
2003-10-16Check for signals in local svc_run before doing anything else. Fixesmillert1-11/+11
2003-10-09Remove errant semicolon introduced in rev 1.60; joshua steinmillert1-2/+2
2003-09-26check strdup failure; ok anil millertderaadt1-1/+3
2003-06-11ansificationderaadt1-3/+3
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-6/+2
2003-03-16Use len+1 as the size parameter to strlcpy() since len does not includemillert1-2/+2
2003-03-14tweak; millert okderaadt1-3/+4
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduderaadt1-9/+14
2003-03-09if fopen fails, do not bork; rob@animoid-row.orgderaadt1-3/+5
2003-01-05spellingderaadt1-2/+2
2002-07-18fix warningderaadt1-2/+2
2002-07-18de-lint a bit. use inet_aton(); millert okderaadt1-9/+8
2002-07-11malloc() failure tests; rimshot@pandora.bederaadt1-1/+7
2002-06-29ansideraadt1-151/+76
2002-06-09rm trailing whitespacetodd1-4/+4
2002-06-04spelling; raj@cerias.purdue.eduderaadt1-2/+2
2002-05-26pid_t cleanupderaadt1-2/+2
2002-04-23In mount.h, rename field export -> export_info, to avoid collision with C++.espie1-12/+12
2002-04-04Add more debugging info in -d mode. Some from NetBSD (via Brett Eldridge).millert1-3/+16
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert1-9/+8
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-39/+39
2001-12-02remove some };deraadt1-5/+5
2001-11-17volatile sig_atomic_tderaadt1-3/+3
2001-11-05kill more registers;mpech1-2/+2