#
32e86a82 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sbin: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
2117cdd4 |
|
07-Mar-2022 |
Alexander Motin <mav@FreeBSD.org> |
GEOM: Introduce gctl_add_param() API. Make gctl_add_param() API public, allowing more precise control over parameter flags. Previously it was impossible to properly declare write-only ASCII parameters, used for result reporting, they were declared as read-write binary instead, that was not nice. MFC after: 1 month
|
#
02547822 |
|
29-Dec-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
ccdconfig: Move VCS tags to be more consistent with our style. Update a now-bogus SPDX tag while here.
|
#
9a827f17 |
|
29-Dec-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
ccdconfig: Update licensing terms to match NetBSD. The code originated in NetBSD which has since removed Clauses 3 and 4. Approved by: phk (concerning his own copyright) Obtained from: NetBSD (CVS ccdconfig.c 1.47, ccdconfig.8 1.24)
|
#
3a7c4a1c |
|
27-Dec-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
ccdconfig: Update licensing terms. The code originate in NetBSD and there are the copyright notes have been assigned to the NetBSD Foundation. Update the files up to the point where we started diverging. Further relaxation of the licensing terms are possible after we check the NetBSD updates, and contact the local authors. In the case of ccdconfig.8 this reinstates the 3rd clause but since the code is not directly from Berkeley, the change was bogus. Obtained from: NetBSD
|
#
1de7b4b8 |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
various: general adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. 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. No functional change intended.
|
#
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
|
#
1efe3c6b |
|
04-Nov-2011 |
Ed Schouten <ed@FreeBSD.org> |
Add missing static keywords for global variables to tools in sbin/. These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file.
|
#
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.
|
#
3ba5db25 |
|
11-Jun-2010 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Remove dead variable assignments Found by: clang static analyzer Verified by: md5(1)
|
#
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.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
3f4f4a14 |
|
13-Apr-2006 |
Martin Cracauer <cracauer@FreeBSD.org> |
Make CCD be able to read and write Linux software raids. Supported for raid-0 with <n> disks, raid-1 with 2 disks. Manpages have examples, warnings etc. Test scripts on http://www.cons.org/cracauer/ccdconfig-linux/ Reviewed by: alfred
|
#
d414fcbc |
|
05-Aug-2005 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Garbage collect useless variables.
|
#
8d646af5 |
|
10-Feb-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync program's usage() with manpage's SYNOPSIS.
|
#
7f1740e8 |
|
07-Aug-2003 |
Johan Karlsson <johan@FreeBSD.org> |
Make this WARNS=6 clean by renaming the variable 'err' to 'error' in order not to shadow err(3). Tested by: make universe
|
#
98e7d611 |
|
09-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Be consistent about module names.
|
#
df622d54 |
|
09-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
GEOMification of CCD. You need your kernel and ccdconfig(8) to be in sync, particularly if your source tree is on a ccd device.
|
#
0f557e0a |
|
02-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Further devilification of CCD: Change the list interface to simplify things. Remove old list ioctls which bogusly exported the softc to userland. Move the softc and associated structures from the public header to the source file.
|
#
c06bf12f |
|
02-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Use GEOM OAM api to retrive list of configured ccd devices. Link against libgeom.
|
#
c69284ca |
|
03-May-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID() to quiet GCC 3.3 warnings.
|
#
a9f65dc3 |
|
05-Mar-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Don't pick the name out of the devstat member of the ccd softc, it will disappear soon. Exporting the softc in the first place is a mistake.
|
#
b02a19f2 |
|
18-Jan-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Fix two errorchecks to check for negative error returns.
|
#
ddbf51af |
|
17-Jan-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Find places to store the previously implicityly passed unit number in the three configuration ioctls which need a unit number. Add a "ccd.ctl" device for config operations. Implement ioctls on ccd.ctl which rely on the explicityly passed unit numbers. Update ccdconfig to use the new ccd.ctl interface. Add code to the kernel to detect old ccdconfig binaries, and whine about it. Add code to ccdconfig to detect old kernels, and whine about it. These two compatibility measures will be retained only for a limited period since they are in the way of GEOM'ification of ccd.
|
#
22f29488 |
|
17-Jan-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Fix various details so we get to WARNS=3. Center operation on unit number rather than path name.
|
#
fc6db1e2 |
|
03-Jan-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove CCDF_SWAP and CCDF_PARITY. They have never been implemented.
|
#
e5fa3ee6 |
|
17-Mar-2002 |
Warner Losh <imp@FreeBSD.org> |
o __P removal. o Use ANSI function definitions. o main(int, char *[])
|
#
5788dd0e |
|
11-Sep-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
Removed -M and -N from getopt(3) call as well.
|
#
ae919cce |
|
04-Sep-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Duh! forgot this bit of the NCCD patch. Submitted by: sobomax Reviewed by: phk
|
#
3b7e5ccc |
|
31-Aug-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
SECURITY: Drop `setgid kmem' bit as early as possible.
|
#
1a37aa56 |
|
09-Dec-2000 |
David E. O'Brien <obrien@FreeBSD.org> |
Add `_PATH_DEVZERO'. Use _PATH_* where where possible.
|
#
b10a063d |
|
05-Aug-2000 |
Alexander Langer <alex@FreeBSD.org> |
Fix world-breakage: warnx("..') --> warnx("...") Submitted by: Alain Thivillon <Alain.Thivillon@hsc.fr>, Udo Erdelhoff <ue@nathan.ruhr.de> Approved by: green
|
#
d045f160 |
|
05-Aug-2000 |
Kris Kennaway <kris@FreeBSD.org> |
Don't call warnx() without a format string (localized error messages could conceivably cause a crash). Obtained from: OpenBSD
|
#
3e2c6ca3 |
|
05-Oct-1999 |
Nick Hibma <n_hibma@FreeBSD.org> |
Removal of sys/device.h - Move intrhook stuff into kernel.h - Remove all occurrences of #device <device.h> - Add kernel.h were necessary (nowhere) - delete device.h This file contained the structures for cfdata (old style config) and is no longer used. It was included by most drivers. It confuses the remote debugger as the definition of 'struct device' in device.h is found before the one in bus_private.h.
|
#
2ce3df4e |
|
26-Sep-1999 |
Bill Fumerola <billf@FreeBSD.org> |
Silence -Wall Reviewed by: dillon
|
#
7f3dea24 |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
9539436c |
|
04-Jul-1999 |
Bill Fumerola <billf@FreeBSD.org> |
(1) Include linker.h because we use kldload() (2) Clear up an ambigious, nested if/else (3) Cast a ccio_size to a long and use the correct format identifier. Reviewed by: green
|
#
34fee57a |
|
06-May-1999 |
Poul-Henning Kamp <phk@FreeBSD.org> |
don't use <sys/disk.h>
|
#
769ae4ad |
|
05-Apr-1999 |
Peter Wemm <peter@FreeBSD.org> |
kldload("ccd") if the ccd module isn't present.
|
#
b2dfb1f9 |
|
15-Sep-1998 |
Justin T. Gibbs <gibbs@FreeBSD.org> |
Update system to new device statistics code. Submitted by: "Kenneth D. Merry" <ken@plutotech.com> mike@smith.net.au (Mike Smith)
|
#
9ad54eb7 |
|
04-Jun-1998 |
Philippe Charnier <charnier@FreeBSD.org> |
Correct use of .Nm, use .Bl/.El in FILES section. Add rcsid. Remove unused #includes and make it a little more -Wall-friendly.
|
#
15678bfa |
|
29-Dec-1997 |
Warner Losh <imp@FreeBSD.org> |
Properly drop group privs to open file names specified by the user. Submitted by: Niall Smart rotel@indigo.ie Obtained from: OpenBSD (rev 1.7 and 1.8)
|
#
86d025a0 |
|
10-Jun-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Remove __progname. Cosmetic in usage string.
|
#
c0ec1f37 |
|
22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
#
1130b656 |
|
14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$ This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
15a2c56b |
|
30-Jan-1996 |
Satoshi Asami <asami@FreeBSD.org> |
Add mirror and parity flags to list of symbolic names.
|
#
aa8bdaec |
|
27-Dec-1995 |
Satoshi Asami <asami@FreeBSD.org> |
Added $Id$.
|
#
602e098f |
|
27-Dec-1995 |
Satoshi Asami <asami@FreeBSD.org> |
Make it work for FreeBSD-2.1.
|
#
89a7b2b7 |
|
27-Dec-1995 |
Satoshi Asami <asami@FreeBSD.org> |
ccdcontrol from NetBSD-1.1. Note it was called "ccdconfig" originally.
|