| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Use strlcpy() instead of strncpy() to ensure that qup->fsname is NUL
terminated. Don't bother checking for truncation since the subsequent
quota_read() should detect that and fail.
Reported by: Coverity
CID: 1009980
|
|
|
|
|
|
|
| |
Tested with "make universe"; there are no conditional features.
Approved by: cperciva
MFC after: 3 daus
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Add -h option to request "humanized" values such as 1M, 1G, 1T, etc.
Discussed with: Dag-Erling Smorgrav
Sponsored by: Rsync.net
|
| |
|
| |
|
|
|
|
|
| |
then turned back on in order for grace time changes to take
effect.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
(with permission of addtional copyright holders where appropriate)
|
| |
|
|
|
|
|
|
| |
PR: docs/67170
Submitted by: Anatoly Zherdev
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
username length to 29 characters.
PR: misc/62944
Submitted by: David Hill <david@wmol.com>
Approved by: ru
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
for the paragraph on the -e option.
|
| |
|
| |
|
|
|
|
| |
Approved by: re
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
| |
new -e option for that).
Feature requested by: Alex V. Belinsky <fozzy@kievweb.net.ua>
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
what is calculated.
PR: 41936
Submitted by: Lukas Ertl <le@univie.ac.at>
MFC after: 1 week
|
|
|
|
|
|
|
| |
as "2-xhibit" are not considered as a range. Fix a problem where
the code would forget to increment argv.
PR: misc/15658
|
| |
|
| |
|
| |
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
|
| |
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
|
| |
allow to limit the prototype quota distribution (-p)
to a single filesystem. Useful when initializing
quotas on a newly added disk.
PR: bin/30816
Submitted by: Dmitry Morozovsky <marck@rinet.ru>
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
| |
|
| |
|
|
|
|
| |
submitted by: bde
|
|
|
|
|
| |
PR: alpha/21247
tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
|
|
|
|
|
|
|
|
| |
arithmetic instead of the special macros in PR 8163 or the magic
2's in PR 381. (Rev.1.3 unfortunately fixed only half of the
problems reported in PR 381.)
PR: 381, 8163
|