summaryrefslogtreecommitdiffstats
path: root/usr.sbin/edquota
Commit message (Collapse)AuthorAgeFilesLines
* Use strlcpy() instead of strncpy() to ensure that qup->fsname is NULtruckman2016-05-131-1/+1
| | | | | | | | | terminated. Don't bother checking for truncation since the subsequent quota_read() should detect that and fail. Reported by: Coverity CID: 1009980 MFC after: 1 week
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-2/+1
| |\ | |/ |/|
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Merge headsjg2014-04-281-1/+1
| |\
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Sync with HEAD.obrien2013-02-081-2/+0
| |\ \
| | \ \
| | \ \
| *-. \ \ Sync from headsjg2012-11-041-2/+4
| |\ \ \ \
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+20
| | |/ / / | |/| | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | Reduce overlinking
* | | | edquota: Don't pass fd for temporary file to editor.jilles2013-10-271-1/+1
| |_|/ |/| | | | | | | | The editor opens the temporary file by name.
* | | Remove unneeded includes.eadler2012-11-201-2/+0
| |/ |/| | | | | | | | | | | Tested with "make universe"; there are no conditional features. Approved by: cperciva MFC after: 3 daus
* | Check the return error of set[e][ug]id. While this can never fail in theeadler2012-10-221-2/+4
|/ | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. Submitted by: Erik Cederstrand Approved by: cperciva MFC after: 3 days
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-1/+1
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Spelling fixes for usr.sbin/uqs2011-12-301-1/+1
|
* type / format fixupdes2009-09-271-32/+38
|
* Update the quotafile library to manage both active quotas via themckusick2009-02-141-89/+42
| | | | | | | | quotactl(2) interface and inactive quotas by accessing the quota files directly. Update the edquota program to use this new interface as proof of concept.
* Move hasquota() function to libutil.mckusick2009-02-131-74/+27
|
* More updates to edquota based on feedback from Dag-Erling Smorgrav.mckusick2009-02-101-43/+126
|
* Updates to edquota based on feedback from Dag-Erling Smorgrav.mckusick2009-02-053-41/+67
|
* Finish conversion of edquota to work with 64-bit quotas.mckusick2009-02-043-58/+170
| | | | | | | Add -h option to request "humanized" values such as 1M, 1G, 1T, etc. Discussed with: Dag-Erling Smorgrav Sponsored by: Rsync.net
* WIPdes2009-01-302-72/+30
|
* Drag this code kicking and screaming into the twenty-first century.des2008-07-021-59/+30
|
* Document that quotas must be turned off on a file system andmpp2007-02-041-0/+2
| | | | | then turned back on in order for grace time changes to take effect.
* If two files systems, /a and /b are marked as having quotas enabledmpp2007-02-041-8/+23
| | | | | | | | | | | | | in fstab and they are normally mounted as /a/b, if /b is not mounted, the various quota utilities will incorrectly operate with the quotas on /a (silently) when operations are attemted on /b. Sync up all the hasquota() routines between all the different quota utilities and change it to detect if the file system we are attempting to perform quota operations on is not currently mounted and warn the user accordingly. PR: bin/38918
* If quotas are not currently enabled for a file system, edquota -pmpp2007-02-041-8/+63
| | | | | | | | | | | | will operate directly on the quota file. It will incorrectly write the prototype user's usage information for each new quota it sets. Fixed to read in the current quota information and update the file correctly. If quotas are enabled the kernel handles this case fine. PR: bin/15410
* initialize unitialized variables (WARNS=6)charnier2006-09-141-2/+6
|
* Sort sections.ru2005-01-181-2/+2
|
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-073-12/+1
| | | | (with permission of addtional copyright holders where appropriate)
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+3
|
* o Fix typo: s/bslim/bhlim/.maxim2004-05-251-1/+1
| | | | | | PR: docs/67170 Submitted by: Anatoly Zherdev MFC after: 3 days
* Have edquota honour MAXLOGNAME rather than hardcoding the maximumceri2004-02-241-1/+1
| | | | | | | | | username length to 29 characters. PR: misc/62944 Submitted by: David Hill <david@wmol.com> Approved by: ru MFC after: 1 week
* Userland signed char fixes for PPC build. Problems were using a chargrehan2004-01-221-2/+2
| | | | | | | | | return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h> Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe
* mdoc(7): Properly mark C headers.ru2003-09-101-1/+1
|
* Minor grammar, punctuation, and wording fixesyar2003-07-291-8/+8
| | | | for the paragraph on the -e option.
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+4
|
* style.Makefile(5)obrien2003-04-041-1/+2
|
* Uniformly refer to a file system as "file system".ru2002-12-121-12/+12
| | | | Approved by: re
* mdoc(7) police: markup fixes.ru2002-11-271-9/+16
| | | | Approved by: re
* Allow edquota(8) to be used for setting up quotas non-interactively (add asobomax2002-09-072-23/+149
| | | | | | | new -e option for that). Feature requested by: Alex V. Belinsky <fozzy@kievweb.net.ua> MFC after: 1 month
* Use "kbytes" instead of "blocks" in messages as this is reallyschweikh2002-08-241-2/+2
| | | | | | | | what is calculated. PR: 41936 Submitted by: Lukas Ertl <le@univie.ac.at> MFC after: 1 week
* Improve the code for detecting UID ranges so that usernames suchiedowse2002-08-091-3/+3
| | | | | | | as "2-xhibit" are not considered as a range. Fix a problem where the code would forget to increment argv. PR: misc/15658
* The .Nm utilitycharnier2002-07-141-2/+3
|
* WARNS=4alfred2002-07-112-4/+2
|
* de-__P()alfred2002-07-111-14/+14
|
* Reorder WARNS line for style.mikeh2001-12-101-2/+1
| | | | Pointed out by: bde
* WARNS=2 cleanup.mikeh2001-12-102-33/+35
| | | | | Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 2 weeks
OpenPOWER on IntegriCloud