#
296373 |
|
04-Mar-2016 |
marius |
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.3. - Update default pkg(8) configuration to use the quarterly branch.
Approved by: re (implicit) |
#
291815 |
|
04-Dec-2015 |
bdrewery |
MFC r284289,r288267:
r284289: Misc fixes from projects/bmake r288267: Remove redundant .NOPATH.
|
#
263086 |
|
12-Mar-2014 |
glebius |
Bulk sync of pf changes from head, in attempt to fixup broken build I made in r263029.
Merge r257186,257215,257349,259736,261797.
These changesets split pfvar.h into several smaller headers and make userland utilities to include only some of them.
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
235911 |
|
24-May-2012 |
mav |
MFprojects/zfsd: Revamp the CAM enclosure services driver. This updated driver uses an in-kernel daemon to track state changes and publishes physical path location information\for disk elements into the CAM device database.
Sponsored by: Spectra Logic Corporation Sponsored by: iXsystems, Inc. Submitted by: gibbs, will, mav
|
#
234058 |
|
09-Apr-2012 |
dim |
In kdump's mkioctls script, use '${CPP}' instead of hardcodedly using 'gcc -E'. This fixes building when WITH_CLANG_IS_CC is in effect.
Report by: Niclas Zeising <zeising@daemonic.se> MFC after: 1 week
|
#
226608 |
|
21-Oct-2011 |
des |
It turns out that truss also used kdump's mkioctls script, and expected ioctlname() to return a pointer to the name rather than print it. This did not show up in testing because truss had its own prototype for ioctlname(), so it would build fine and run fine as long as the program being traced did not issue an ioctl.
Teach mkioctls to generate different versions of ioctlname() based on its first command-line argument.
Pointed out by: Garrett Cooper <yanegomi@gmail.com>
|
#
226344 |
|
13-Oct-2011 |
des |
Clean up mkioctls a bit, and fix cross-building by checking ${MACHINE} instead of $(uname -m).
Pointed out by: nyan@
|
#
226329 |
|
12-Oct-2011 |
des |
Make kdump compile cleanly at WARNS level 6, with one exception: the ipfilter headers contain a duplicated function declaration. Turn off -Werror to allow kdump to compile in spite of this.
It would be neat to be able to turn off -Werror on a file-by-file basis...
PR: bin/161478 Submitted by: Garrett Cooper <yanegomi@gmail.com>
|
#
226157 |
|
08-Oct-2011 |
des |
Bring ioctlname() in line with all the other *name() functions, which actually print the name (or the numeric value, if they can't figure out the correct name) instead of just returning a pointer to it. Also, since ioctl numbers are not and probably never will be unique, drop support for using a switch statement instead of an if/else chain.
|
#
195751 |
|
18-Jul-2009 |
bz |
Remove no longer needed #include after removing the legacy vimage API in r195741.
Reviewed by: rwatson Approved by: re (kib)
|
#
193177 |
|
31-May-2009 |
zec |
Unbreak buildworld.
(not waiting for an approval from mentor (julian) due to emergency)
|
#
192901 |
|
27-May-2009 |
thompsa |
Delete the old USB stack. The new stack has settled in and has all the drivers/functionality and then some.
|
#
192768 |
|
25-May-2009 |
ed |
Fix kdump build when building it by hand.
I don't entirely like this approach, but it will only be temporarily, namely until we get rid of COMPAT_43TTY. I do want <sys/ioctl_compat.h> to cause a compiler error when included, because it's just there for binary compatibility.
Reported by: Andrzej Tobola <ato iem pw edu pl>
|
#
191936 |
|
09-May-2009 |
ed |
Add support for old TTY ioctls to kdump.
At first I allowed ioctl_compat.h to be included, but it just returned an empty file. I had to do this, to keep kdump happy. I really want to raise a compiler error when including this header, so now it will just throw an error if you don't set COMPAT_43TTY.
|
#
188978 |
|
24-Feb-2009 |
thompsa |
Install the old usb headers under /usr/include/legacy/dev/usb as they are needed by the hal port. This will be removed before 8.0.
Add an exclusion to kdump as some structs will be redefined.
Requested by: marcus
|
#
179308 |
|
25-May-2008 |
rwatson |
Remove netatm from HEAD as it is not MPSAFE and relies on the now removed NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics:
- netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers.
MFC after: 3 weeks Reviewed by: bz Discussed with: bms, bz, harti
|
#
175936 |
|
03-Feb-2008 |
des |
These are files are shell scripts; give smart editors a chance to figure it out by adding the usual shebang.
MFC after: 2 weeks
|
#
171453 |
|
14-Jul-2007 |
rwatson |
Disconnect netatm from the build as it is not MPSAFE and relies on NET_NEEDS_GIANT, which will shortly be removed. This is done in a away that it may be easily reattached to the build before 7.1 if appropriate locking is added. Specifics:
- Don't install netatm include files - Disconnect netatm command line management tools - Don't build libatm - Don't include ATM parts in rescue or sysinstall - Don't install sample configuration files and documents - Don't build kernel support as a module or in NOTES - Don't build netgraph wrapper nodes for netatm
This removes the last remaining consumer of NET_NEEDS_GIANT.
Reviewed by: harti Discussed with: bz, bms Approved by: re (kensmith)
|
#
159247 |
|
05-Jun-2006 |
rwatson |
Add audit.h to mkioctls inclusion list: audit pipe ioctls need access to the audit types.
Submitted by: wsalamon Obtained from: TrustedBSD Project
|
#
130617 |
|
16-Jun-2004 |
mlaier |
Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE).
|
#
126244 |
|
25-Feb-2004 |
des |
Use the -H option instead of the deprecated -follow predicate.
|
#
111922 |
|
05-Mar-2003 |
peter |
Kill references to netns in comment about how it conflicted with netipx so it was ignored all this time.
|
#
103393 |
|
16-Sep-2002 |
bde |
Backed out revs 1.32-1.33. The problem has been fixed better by depolluting <netinet/if_gre.h> in the !_KERNEL case.
Reviewed by: sobomax
|
#
103069 |
|
07-Sep-2002 |
sobomax |
Also add #include <netinet/in_systm.h> before <neinet/ip.h> to fix the world.
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
|
#
103063 |
|
07-Sep-2002 |
sobomax |
Add #include <netinet/ip.h> in attempt to fix the world.
|
#
98767 |
|
24-Jun-2002 |
markm |
Better warnings fixes. Use more sane argument types instead of bogus casts
Submitted by: bde
|
#
98554 |
|
21-Jun-2002 |
markm |
Fix warnings generated elsewhere.
|
#
93522 |
|
01-Apr-2002 |
dwmalone |
Const the code.
|
#
93160 |
|
25-Mar-2002 |
ru |
Back out revision 1.13 (addition of ipfilter includes). A proper fix for the relevant world breakage was later committed in revision 1.20, and this now breaks -DNO_IPFILTER world.
|
#
85796 |
|
01-Nov-2001 |
obrien |
Really fix this work to work. While rev 1.24 did allow awk to run w/o complaining; the resulting output was useless.
|
#
85794 |
|
01-Nov-2001 |
obrien |
Utilize the property of 'echo' in that it removes \n from its input.
|
#
77118 |
|
24-May-2001 |
ru |
Backout rev. 1.22 as the change that caused problems was also backed out.
|
#
76936 |
|
21-May-2001 |
ru |
Work around the side effect of src/include/Makefile,v 1.137 changes. (The proper fix is to add missing #include directives.)
|
#
75261 |
|
06-Apr-2001 |
ru |
Execute this script in a "C" locale environment.
Currently, cs_CZ.ISO_8859-2 locale's collation sequence is broken, and this caused grep(1) to skip some include files.
Reported by: Michal Mertl <mime@traveller.cz>
|
#
74864 |
|
27-Mar-2001 |
ru |
Traverse ${DESTDIR}/usr/include in lexographical order. This should fix problems reported recently on -current.
|
#
74840 |
|
27-Mar-2001 |
ken |
Rewrite of the CAM error recovery code.
Some of the major changes include:
- The SCSI error handling portion of cam_periph_error() has been broken out into a number of subfunctions to better modularize the code that handles the hierarchy of SCSI errors. As a result, the code is now much easier to read.
- String handling and error printing has been significantly revamped. We now use sbufs to do string formatting instead of using printfs (for the kernel) and snprintf/strncat (for userland) as before.
There is a new catchall error printing routine, cam_error_print() and its string-based counterpart, cam_error_string() that allow the kernel and userland applications to pass in a CCB and have errors printed out properly, whether or not they're SCSI errors. Among other things, this helped eliminate a fair amount of duplicate code in camcontrol.
We now print out more information than before, including the CAM status and SCSI status and the error recovery action taken to remedy the problem.
- sbufs are now available in userland, via libsbuf. This change was necessary since most of the error printing code is shared between libcam and the kernel.
- A new transfer settings interface is included in this checkin. This code is #ifdef'ed out, and is primarily intended to aid discussion with HBA driver authors on the final form the interface should take. There is example code in the ahc(4) driver that implements the HBA driver side of the new interface. The new transfer settings code won't be enabled until we're ready to switch all HBA drivers over to the new interface.
src/Makefile.inc1, lib/Makefile: Add libsbuf. It must be built before libcam, since libcam uses sbuf routines.
libcam/Makefile: libcam now depends on libsbuf.
libsbuf/Makefile: Add a makefile for libsbuf. This pulls in the sbuf sources from sys/kern.
bsd.libnames.mk: Add LIBSBUF.
camcontrol/Makefile: Add -lsbuf. Since camcontrol is statically linked, we can't depend on the dynamic linker to pull in libsbuf.
camcontrol.c: Use cam_error_print() instead of checking for CAM_SCSI_STATUS_ERROR on every failed CCB.
sbuf.9: Change the prototypes for sbuf_cat() and sbuf_cpy() so that the source string is now a const char *. This is more in line wth the standard system string functions, and helps eliminate warnings when dealing with a const source buffer.
Fix a typo.
cam.c: Add description strings for the various CAM error status values, as well as routines to look up those strings.
Add new cam_error_string() and cam_error_print() routines for userland and the kernel.
cam.h: Add a new CAM flag, CAM_RETRY_SELTO.
Add enumerated types for the various options available with cam_error_print() and cam_error_string().
cam_ccb.h: Add new transfer negotiation structures/types.
Change inq_len in the ccb_getdev structure to be "reserved". This field has never been filled in, and will be removed when we next bump the CAM version.
cam_debug.h: Fix typo.
cam_periph.c: Modularize cam_periph_error(). The SCSI error handling part of cam_periph_error() is now in camperiphscsistatuserror() and camperiphscsisenseerror().
In cam_periph_lock(), increase the reference count on the periph while we wait for our lock attempt to succeed so that the periph won't go away while we're sleeping.
cam_xpt.c: Add new transfer negotiation code. (ifdefed out)
Add a new function, xpt_path_string(). This is a string/sbuf analog to xpt_print_path().
scsi_all.c: Revamp string handing and error printing code. We now use sbufs for much of the string formatting code. More of that code is shared between userland the kernel.
scsi_all.h: Get rid of SS_TURSTART, it wasn't terribly useful in the first place.
Add a new error action, SS_REQSENSE. (Send a request sense and then retry the command.) This is useful when the controller hasn't performed autosense for some reason.
Change the default actions around a bit.
scsi_cd.c, scsi_da.c, scsi_pt.c, scsi_ses.c: SF_RETRY_SELTO -> CAM_RETRY_SELTO. Selection timeouts shouldn't be covered by a sense flag.
scsi_pass.[ch]: SF_RETRY_SELTO -> CAM_RETRY_SELTO.
Get rid of the last vestiges of a read/write interface.
libkern/bsearch.c, sys/libkern.h, conf/files: Add bsearch.c, which is needed for some of the new table lookup routines.
aic7xxx_freebsd.c: Define AHC_NEW_TRAN_SETTINGS if CAM_NEW_TRAN_CODE is defined.
sbuf.h, subr_sbuf.c: Add the appropriate #ifdefs so sbufs can compile and run in userland.
Change sbuf_printf() to use vsnprintf() instead of kvprintf(), which is only available in the kernel.
Change the source string for sbuf_cpy() and sbuf_cat() to be a const char *.
Add __BEGIN_DECLS and __END_DECLS around function prototypes since they're now exported to userland.
kdump/mkioctls: Include stdio.h before cam.h since cam.h now includes a function with a FILE * argument.
Submitted by: gibbs (mostly) Reviewed by: jdp, marcel (libsbuf makefile changes) Reviewed by: des (sbuf changes) Reviewed by: ken
|
#
64121 |
|
02-Aug-2000 |
ru |
Unbreak world build by adding the necessary <net/ethernet.h> include.
Submitted by: Nickolay Dudorov <nnd@wint.itfs.nsk.su>
|
#
64099 |
|
01-Aug-2000 |
ru |
Fix an off-by-nine error when building a list of includes.
|
#
62585 |
|
04-Jul-2000 |
itojun |
more pre-requisite for new ipv6 ioctls
|
#
54335 |
|
08-Dec-1999 |
phk |
sys/dkbad.h is no more.
|
#
54081 |
|
03-Dec-1999 |
marcel |
Avoid hardcoding any paths and variables. The include directory must now be specified on the command line. Accept a '-s' option which controls whether a switch-statement is to be used instead of a series of if-statements.
Replace cpp with gcc -E.
Discussed with: bde
|
#
53669 |
|
24-Nov-1999 |
guido |
Unbreak build world by readding the necessary ipfilter includes.
|
#
53079 |
|
10-Nov-1999 |
dfr |
ioctlname() is actually passed a register_t.
Pointed out by: bde
|
#
53069 |
|
09-Nov-1999 |
dfr |
Fix a boatload of warnings in the generated code on the alpha.
|
#
52130 |
|
11-Oct-1999 |
peter |
Ack, ip_mroute.h is not an ipfilter include. :-/
Submitted by: Mike Heffner <spock@techfour.net>
|
#
52099 |
|
10-Oct-1999 |
peter |
Don't #include ipfilter includes that aren't there anymore.
|
#
51960 |
|
06-Oct-1999 |
n_hibma |
Remove the inclusion of device.h. It's no longer there.
|
#
46672 |
|
08-May-1999 |
phk |
we don't have <sys/disk.h> anymore.
|
#
40455 |
|
16-Oct-1998 |
bde |
Generate code to interpret ioctl numbers for all ioctls defined in headers under /usr/include, not just for the ones in <sys/ioctl.h>. The generated file includes all headers that seem to define ioctls, so build errors will probably occur if headers become less self- sufficient than they are already. This is a feature. Build errors shall not be fixed by adding more includes here.
Optionally generate a case statement instead of a list of if statements. This source must be edited to change this. The case statement should be non-optional. It currently can't be, because many ioctl numbers are not unique.
|
#
20287 |
|
10-Dec-1996 |
wollman |
Fix up programs which expect <net/if.h> to include <sys/time.h> to instead do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it.
|
#
16631 |
|
23-Jun-1996 |
bde |
Run the headers through cpp -dM to find the #defines. The direct search has been broken at least since 4.4Lite moved most of the #defines out of <sys/ioctl.h>. This should be done better. Only a few headers are searched.
Added some #includes so that ioctl.c compiles. The networking headers have a maze of undocumented interdependencies and ioctl.c now actually supports networking ioctls.
|
#
14541 |
|
11-Mar-1996 |
dg |
Include queue.h in preparation for upcoming struct socket changes.
|
#
2782 |
|
15-Sep-1994 |
swallace |
Added $DESTDIR to $DESTDIR/usr/include/sys/ioctl.h $DESTDIR/usr/include/sys/ioctl_compat.h so ioctl.c is generated properly using 2.0 include files in $DESTDIR.
|
#
1591 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|
#
1590 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Usr.bin Sources
|