#
0b8224d1 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove copyright strings ifdef'd out We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require). Sponsored by: Netflix
|
#
8a7b6120 |
|
23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.sbin: Remove ancient SCCS tags. Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
72e1ea2f |
|
07-Jul-2023 |
Alfonso Gregory <gfunni234@gmail.com> |
Mark usage function as __dead2 in programs where it does not return In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
|
#
b6519069 |
|
16-Aug-2020 |
Xin LI <delphij@FreeBSD.org> |
edquota(8): Cleanup to make it WARNS=6 clean. Tested with: make tinderbox MFC after: 2 weeks
|
#
8a16b7a1 |
|
20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
General further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
|
#
fbbd9655 |
|
28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4 Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
|
#
3b7e0c53 |
|
12-May-2016 |
Don Lewis <truckman@FreeBSD.org> |
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 MFC after: 1 week
|
#
1ebe8520 |
|
27-Oct-2013 |
Jilles Tjoelker <jilles@FreeBSD.org> |
edquota: Don't pass fd for temporary file to editor. The editor opens the temporary file by name.
|
#
0a05b871 |
|
19-Nov-2012 |
Eitan Adler <eadler@FreeBSD.org> |
Remove unneeded includes. Tested with "make universe"; there are no conditional features. Approved by: cperciva MFC after: 3 daus
|
#
50e04779 |
|
21-Oct-2012 |
Eitan Adler <eadler@FreeBSD.org> |
Check the return error of set[e][ug]id. While this can never fail in the 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
|
#
3df5ecac |
|
30-Dec-2011 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Spelling fixes for usr.sbin/
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
6cfc1c1e |
|
27-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
type / format fixup
|
#
8bd6a3ab |
|
14-Feb-2009 |
Kirk McKusick <mckusick@FreeBSD.org> |
Update the quotafile library to manage both active quotas via the 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.
|
#
916e406e |
|
12-Feb-2009 |
Kirk McKusick <mckusick@FreeBSD.org> |
Move hasquota() function to libutil.
|
#
cdab8b66 |
|
10-Feb-2009 |
Kirk McKusick <mckusick@FreeBSD.org> |
More updates to edquota based on feedback from Dag-Erling Smorgrav.
|
#
b83b5d3b |
|
05-Feb-2009 |
Kirk McKusick <mckusick@FreeBSD.org> |
Updates to edquota based on feedback from Dag-Erling Smorgrav.
|
#
08dc3a5e |
|
03-Feb-2009 |
Kirk McKusick <mckusick@FreeBSD.org> |
Finish conversion of edquota to work with 64-bit quotas. Add -h option to request "humanized" values such as 1M, 1G, 1T, etc. Discussed with: Dag-Erling Smorgrav Sponsored by: Rsync.net
|
#
1b3515f3 |
|
30-Jan-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
WIP
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
8f518424 |
|
02-Jul-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Drag this code kicking and screaming into the twenty-first century.
|
#
fbb42904 |
|
03-Feb-2007 |
Mike Pritchard <mpp@FreeBSD.org> |
If two files systems, /a and /b are marked as having quotas enabled 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
|
#
dbbc0c83 |
|
03-Feb-2007 |
Mike Pritchard <mpp@FreeBSD.org> |
If quotas are not currently enabled for a file system, edquota -p 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
|
#
606a36b9 |
|
13-Sep-2006 |
Philippe Charnier <charnier@FreeBSD.org> |
initialize unitialized variables (WARNS=6)
|
#
486c8cc4 |
|
06-Aug-2004 |
Warner Losh <imp@FreeBSD.org> |
Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software (with permission of addtional copyright holders where appropriate)
|
#
fc31408d |
|
24-Feb-2004 |
Ceri Davies <ceri@FreeBSD.org> |
Have edquota honour MAXLOGNAME rather than hardcoding the maximum username length to 29 characters. PR: misc/62944 Submitted by: David Hill <david@wmol.com> Approved by: ru MFC after: 1 week
|
#
5cfe0423 |
|
22-Jan-2004 |
Peter Grehan <grehan@FreeBSD.org> |
Userland signed char fixes for PPC build. Problems were using a char 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
|
#
b728350e |
|
03-May-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
|
#
b8b743d7 |
|
06-Sep-2002 |
Maxim Sobolev <sobomax@FreeBSD.org> |
Allow edquota(8) to be used for setting up quotas non-interactively (add a new -e option for that). Feature requested by: Alex V. Belinsky <fozzy@kievweb.net.ua> MFC after: 1 month
|
#
a35d611f |
|
24-Aug-2002 |
Jens Schweikhardt <schweikh@FreeBSD.org> |
Use "kbytes" instead of "blocks" in messages as this is really what is calculated. PR: 41936 Submitted by: Lukas Ertl <le@univie.ac.at> MFC after: 1 week
|
#
c99f3c68 |
|
08-Aug-2002 |
Ian Dowse <iedowse@FreeBSD.org> |
Improve the code for detecting UID ranges so that usernames such as "2-xhibit" are not considered as a range. Fix a problem where the code would forget to increment argv. PR: misc/15658
|
#
f251a0df |
|
11-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
WARNS=4
|
#
d89167b4 |
|
11-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
de-__P()
|
#
d73796c5 |
|
09-Dec-2001 |
Mike Heffner <mikeh@FreeBSD.org> |
WARNS=2 cleanup. Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 2 weeks
|
#
bc9c1e90 |
|
28-Sep-2001 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Add a new option to edquota(8) - "-f", which will 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>
|
#
7bc6d015 |
|
09-Jul-2001 |
Brian Somers <brian@FreeBSD.org> |
Fix the type of the NULL arg to execl() Idea from: Theo de Raadt <deraadt@openbsd.org>
|
#
aa29dffd |
|
28-Oct-2000 |
Andrew Gallatin <gallatin@FreeBSD.org> |
cleanups of my previous, quick & dirty fix of unaligned access errors on alpha. submitted by: bde
|
#
6a66ff3c |
|
26-Oct-2000 |
Andrew Gallatin <gallatin@FreeBSD.org> |
fix unaligned access errors caused by bad scanf/printf format strings PR: alpha/21247 tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
|
#
97d92980 |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
4e7767c7 |
|
01-Jan-1999 |
Bruce Evans <bde@FreeBSD.org> |
Fixed overflow in 1K-blocks to disk-blocks conversions. Use quad 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
|
#
ea28e1c5 |
|
17-Sep-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Use err(3). Add prototypes.
|
#
026df100 |
|
19-Aug-1997 |
Jonathan Lemon <jlemon@FreeBSD.org> |
Remove temporary file on exit. PR: 4010 Submitted by: "Anatoly A. Orehovsky" <tolik@www.tomsk.su>
|
#
59fe2c14 |
|
02-Aug-1997 |
Bruce Evans <bde@FreeBSD.org> |
Import Lite2's src/usr.sbin, except for timed. All changed files except one unimportant one have already left the vendor branch.
|
#
6c3f552a |
|
30-Mar-1997 |
Warner Losh <imp@FreeBSD.org> |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
#
d172713d |
|
31-Mar-1996 |
Mike Pritchard <mpp@FreeBSD.org> |
Allow the use of uid ranges when using the "-p" option to allow easy setup of default quotas for a range of uids. Usage: edquota -p protouser startuid-enduid E.g. edquota -p mpp 10000-19999 Will duplicate the quota limints for user mpp for uids 10000 - 19999. The uids in question do not have to currently exist in /etc/passwd.
|
#
ff557743 |
|
07-May-1995 |
Bruce Evans <bde@FreeBSD.org> |
Cast some expressions involving dbtob() to (unsigned long) and print them using %lu. This became more broken when I fixed dbtob() to support byte offsets >= 4GB. The type had to change to [u]quad_t. Previously the expressions had type unsigned long and were printed using %d. After division by 1024, the expressions are guaranteed to fit in an unsigned long, at least for the standard DEV_BSIZE, so edquota doesn't need to know about quad_t's explicitly. Fix all the other format mismatches exposed by compiling with -Wformat (6 more quota limits of type unsigned long printed using %d and 6 time_t's (i.e., longs) printed using %d).
|
#
d117a622 |
|
22-Nov-1994 |
Andrey A. Chernov <ache@FreeBSD.org> |
Make edquota works with other then vi editors, i.e.check file by name, not by fd
|
#
dea673e9 |
|
25-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite usr.sbin Sources
|