summaryrefslogtreecommitdiff
path: root/usr.sbin/edquota/edquota.c
AgeCommit message (Collapse)Author
2003-06-26strict proto cleanupsTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-25replace an unbounded %s in a sscanf with a bounded oneAnil Madhavapeddy
ok millert@
2003-04-02strlcpy; millert okTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-09-06cope with INITQFNAMES without a ;Theo de Raadt
2002-09-06no ; after INITQFNAMESTheo de Raadt
2002-06-04spelling; raj@cerias.purdue.eduTheo de Raadt
2002-05-29more snprintfTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-03-14kill more registers.Mike Pechkin
millert@ ok
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵Todd C. Miller
POSIX counterparts.
2001-01-15Revert previous patch (I should stop believing Theo, esp. when he'sAngelos D. Keromytis
intoxicated). Thanks to Paul Janzen for pointing this out.
2001-01-14Handle quotas over 4G, PR 1534 (bob@prophecy.lu)Angelos D. Keromytis
2000-12-21Deal with quotas over 4G correctly; also, tidy a bit and be a touch morePaul Janzen
paranoid with some buffers.
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
1999-06-15change getentry() args to solve problemTheo de Raadt
1999-06-15Check return value of getentry() for -1, not < 0 since it returnsTodd C. Miller
an unsigned value; jon@oaktree.co.uk
1999-01-03fix overflow; bdeTheo de Raadt
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd C. Miller
to simulate a crypt, like login does. Use SEEK_* not L_* and kill some 0L's used in lseek while we're there.
1998-05-18MAXPATHLEN not MAXPATHLEN+1Theo de Raadt
1998-03-22Don't assume all-numeric names are id's, look up as a name inTodd C. Miller
passwd first. Noted by Solar Designer <solar@FALSE.COM>
1997-08-20Some KNF and use warn/err.Todd C. Miller
1997-06-30Wall. uid & gid are not perfect .. but that is OKTheo de Raadt
1997-01-28repair quotactl() typesTheo de Raadt
1997-01-17r?index -> strr?chrTodd C. Miller
1996-09-16_PATH_TMP -> _PATH_TMPFILETodd C. Miller
1996-09-01fix warningsTheo de Raadt
1996-08-29type fixesTheo de Raadt
1996-06-19do not use system() to start $EDITOR, but fake system() ourselvesTheo de Raadt
1996-06-06do not forget to unlink tmpfilTheo de Raadt
1996-06-06system() $EDITOR safelyTheo de Raadt
1996-06-06use system, so that $EDITOR expansion worksTheo de Raadt
1996-04-25permit quotas to work on mfs; problem reported by rdante@pnet.netTheo de Raadt
1996-04-21sync to netbsd 960418Theo de Raadt
1996-01-07accept either ffs or ufs for filesystem nameTheo de Raadt
1995-11-06Complete change from ufs -> ffs; (From Tatoku Ogaito; PR #1679)Theo de Raadt
1995-10-24ufs -> ffsTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt