summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Only checksum stdin if nothing has been checksummed yet.ru2001-06-251-2/+2
| | | | PR: bin/28386
* Previous commit broke dd(1)'s I/O summary when it's terminated by add2001-06-251-0/+1
| | | | | | | | | signal. Fix it by adding an explicit call to summary() in terminate() (it was previously called implicitly by exit() because summary() was registered with atexit()). summary() is supposed to be signal-safe-- it handles SIGINFO almost exclusively--so this should be safe. Submitted by: bde
* Driver modifications consistent with my other drivers to facilitatemsmith2001-06-255-41/+115
| | | | | | the use of a single set of sources across 4.x and 5.x branches. No significant code changes.
* Work around a bug in the current interrupt system by explicitlyimp2001-06-251-0/+4
| | | | | | | | | | | | rejecting INTR_FAST interrupts. Since they can't be shared anyway, this just short circuits a failure case that should work but is panic fodder now. This bug is that if the interrut condiation is active when you activate the interrupt, then the interrupt routine will be called. jhb had a patch that may or may not work to fix it, but I've lost it. This may be due to the sio probe doing something odd too.
* Make 'lpc clean' somewhat safer. Add an 'lpc tclean' command, which allowsgad2001-06-256-47/+351
| | | | | | | | | | | | | | | | | | | one to see what files would be removed *if* an 'lpc clean' is done. 'tclean' will remove no files, and is therefore not a privileged command. Also, both 'lpc clean' and 'lpc tclean' will now look for 'core' files in spool directories (but not remove them). They also print out an extra line of info when a datafile to be removed is a symlink (from 'lpr -s'), saying what file it is a symlink to. The 'lpc clean' commands also now print out a summary line saying how many queues were checked, how many files were removed (or "would be" removed, for tclean), and how much disk space is involved. For the benefit of those who have many print queues, 'lpc clean all' will only print out the names of print queues where some "interesting" files were found, instead of printing out a header-line for every queue in your printcap file. Reviewed by: freebsd-print@bostonradio.org freebsd-audit@FreeBSD.org MFC after: 2 weeks
* Add two new options for lpd: -c will log all connection-errors to syslog,gad2001-06-252-32/+168
| | | | | | | | | | | | | | | while -w allows connection from non-reserved ports. Also improves the helpfulness of various connection-error messages. The changes for IPv6 added back in the reserved-port check which was mistakenly dropped from lpd in 1997 (copying a change from openbsd). It is best to have that check in place, but the check breaks lpr's from some implementations of lpr/lpd for Windows. The -w option is for those admins who need to accept jobs from non-reserved ports, the -c option is for admins who would like a print-server machine to log all failed connection-attempts to syslog. Reviewed by: freebsd-audit@FreeBSD.org freebsd-print@bostonradio.org MFC after: 2 weeks
* Add RETURN VALUES and ERRORS sections.dd2001-06-252-4/+22
|
* Minor cleanup: sort includes, fix name.dd2001-06-251-6/+5
|
* Fix crypto targets to be user-overridable and also obey thejkh2001-06-251-1/+9
| | | | | | | | | NO_SENDMAIL flag if set. The whole NO_FOO mechanism in /usr/src is pretty bogus and needs to be re-examined in the context of a larger argument about modularity, but that's something for another time. Submitted by: Peter Pentchev <roam@orbitel.bg>
* Xref to extattr(2) and extattr(3).dd2001-06-242-2/+4
|
* Add a link to extattr.2 (from extattr_get_file.2). The other namesdd2001-06-241-1/+2
| | | | | are too specific and too long, and extattr.2 makes a nice point of reference for "extattr-related syscalls".
* Add a manual page for extattr_string_to_namespace anddd2001-06-243-0/+185
| | | | | | extattr_namespace_to_string. Reviewed by: rwatson
* Nuke unused variables.dd2001-06-2413-22/+4
|
* Merge from ipfw.8 (1.57).kuriyama2001-06-241-5/+9
| | | | | | o Sync with netinet6/ip6_fw.c (1.12). MFC after: 10 days
* Nuke unused variables.dd2001-06-244-14/+1
|
* Include missing header files whicih define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtints (e.g., exit, strcmp).
* Include missing header files which define functions for which gcc hasdd2001-06-242-0/+2
| | | | builtints (e.g., exit, strcmp).
* Include missing header files which define functions for which gcc hasdd2001-06-2416-0/+17
| | | | builtins (e.g., exit, strcmp).
* Merge from netinet/ip_fw.c (1.117 -> 1.118).kuriyama2001-06-241-45/+69
| | | | | | | o Use syslog(3) interface for logging. Reviewed by: ume MFC after: 10 days
* Xref extattr_set_file(2).dd2001-06-241-0/+1
|
* Xref extattr_get_file(2).dd2001-06-241-0/+1
|
* Add a namespace argument to one of the examples.dd2001-06-241-1/+1
|
* mdoc(7) police: the BUGS section should go after HISTORY and AUTHORS.dd2001-06-241-6/+6
|
* The fact that phk wrote this is not a bug!dd2001-06-241-5/+2
|
* remove IN6_IS_ADDR_ANY macro (outside of standard, #if 0'ed for a long time)ume2001-06-241-7/+0
| | | | | Obtained from: KAME MFC after: 10 days
* Reword the sentence that I screwed up in the last commit.dd2001-06-241-1/+1
| | | | Submitted by: Erik Trulsson <ertr1013@student.uu.se>
* Add missing includes and sort includes.dd2001-06-241-4/+8
|
* Include missing header files.dd2001-06-241-0/+1
|
* disallow setsockopt(IPV6_V6ONLY) for already bound sockets.ume2001-06-241-0/+11
| | | | | Obtained from: KAME MFC after: 10 days
* Include missing header files which define functions for which gcc hasdd2001-06-248-0/+15
| | | | builtints (e.g., exit, strcmp).
* Include stdlib.h for exit(3).dd2001-06-241-0/+1
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Include missing header files which define functions for which gcc hasdd2001-06-2418-0/+21
| | | | builtins (e.g., exit, strcmp).
* Include missing header files which define functions for which gcc hasdd2001-06-249-0/+11
| | | | | | builtins (e.g., exit). Submitted by: Mike Barcroft <mike@q9media.com>
* Silence warning and set WARNS=2.dd2001-06-242-1/+2
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* Constify and set WARNS=2.dd2001-06-242-1/+2
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* Constify, add a prototype, and set WARNS=2.dd2001-06-242-3/+3
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* Constify and set WARNS=2.dd2001-06-242-4/+5
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* fix oopslet for PROC_UNLOCK_NOSWITCHmjacob2001-06-241-1/+1
|
* Use strdup(3) instead of reimplementing it inline.dd2001-06-241-7/+1
|
* cleanup some of the XPORT_FC codemjacob2001-06-241-24/+18
|
* Add a transport settings variant for Fibre Channel.mjacob2001-06-241-0/+13
|
* Add CAM_NEW_TRAN_CODE as an option (to be included in opt_cam.h).mjacob2001-06-241-0/+3
|
* Reword a sentence to make it proper English.dd2001-06-241-1/+1
|
* Clean up the addrmerge() function, which was over-complicated andiedowse2001-06-241-136/+120
| | | | | | | | | | | | | | | | | contained a number of memory leaks. The changes include: - Add a comment describing what addrmerge() does. - Deal with 0.0.0.0./::. or AF_LOCAL callers correctly. - Use rpcbind_get_conf() instead of getnetconfigent() so we don't have to remember to free the returned netconfig struct. - Make just one pass through the ifaddrs list; we can pick up a fallback interface address in the same pass as the netmask comparison. - Define and use SA2SIN* macros to avoid the need for loads of protocol-specific local variables. - Use mostly protocol-independent code for building the netbuf version of the address to be returned. - Use the common cleanup code for virtually all error and non-error cases, fixing a number of memory leaks.
* on icmp6 node information query (FQDN), do not return hostnames withume2001-06-241-2/+6
| | | | | | | | two dots (like "foo..bar"). 0-length labels are not distinguishable with multiple name replies. Obtained from: KAME MFC after: 10 days
* decrease warningume2001-06-241-2/+4
| | | | | Obtained from: KAME MFC after: 10 days
* Nuke the comment about MIP6. We don't have MIP6 code, yet.ume2001-06-241-12/+0
| | | | MFC after: 10 days
* inject outbound packet to BPF.ume2001-06-241-1/+25
| | | | | | Submitted by: itojun Obtained from: KAME MFC after: 10 days
* Constify, staticize and add a missing include; add WARNS?=2.des2001-06-242-4/+7
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> MFC after: 2 weeks
* Don't dereference a NULL pointer if we fail to get a sendfilebuf.dwmalone2001-06-241-1/+2
|
OpenPOWER on IntegriCloud