summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add a command-line option of '-R somename', which indicates that newsysloggad2003-03-021-9/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | should rotate all files given on the command, even if they don't seem to need to be rotated. This would be used by some other command that decides the given log file(s) should be rotated, but wants the "how" of that rotation to be determined by entries to newsyslog. Wes expects to change syslogd to take advantage of this. Man page will be updated after we're sure this is all working the way we want it to. Reviewed by: no objections on freebsd-arch MFC after: 3 weeks MFC addendum: (or after the code-freeze of 4.x is lifted)
* | A cute yet small MAC policy that provides a simple ACL mechanism torwatson2003-03-026-0/+498
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | permit users and groups to bind ports for TCP or UDP, and is intended to be combined with the recently committed support for net.inet.ip.portrange.reservedhigh. The policy is twiddled using sysctl(8). To use this module, you will need to compile in MAC support, and probably set reservedhigh to 0, then twiddle security.mac.portacl.rules to set things as desired. This policy module only restricts ports explicitly bound using bind(), not implicitly bound ports where the port number is selected by the IP stack. It appears to work properly in my local configuration, but needs more broad testing. A sample policy might be: # sysctl security.mac.portacl.rules="uid:425:tcp:80,uid:425:tcp:79" This permits uid 425 to bind TCP sockets to ports 79 and 80. Currently no distinction is made for incoming vs. outgoing ports with TCP, although that would probably be easy to add. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* | Embellish the list of supported devices.obrien2003-03-021-2/+27
| |
* | Get rid of caddr_t.des2003-03-022-2/+2
| |
* | Add a command-line option of '-s', which indicates that newsyslog shouldgad2003-03-021-50/+120
| | | | | | | | | | | | | | | | | | | | | | | | not send a signal to any processes. Also add a config-file flag of 'N' or 'n', which indicates that the given logfile has no process which needs a signal when it is rotated. Both of these are based on changes NetBSD has made, although the implementation is somewhat different. PR: bin/36553 (2nd half) Reviewed by: no objections on freebsd-arch Obtained from: NetBSD (in spirit, at least) MFC after: 3 weeks
* | Reduce code duplication. This adds the function rt_check() to route.c.mdodd2003-03-027-116/+71
| | | | | | | | Approved by: sam (in principle)
* | Abuse `cleandir' for what `clobber' was supposed to do, for peter.ru2003-03-021-1/+4
| |
* | Support ICMP_TSTAMP/ICMP_TSTAMPREPLY.mdodd2003-03-022-28/+104
| | | | | | | | This alters the meaning of the '-M' flag.
* | Fixed sys/boot/pc98/boot2/Makefile to use kern.mk andru2003-03-023-15/+2
| | | | | | | | | | | | get rid of bsd.kern.mk completely. OK'ed by: bde
* | mdoc(7) police: Added missing markup bits.ru2003-03-021-8/+17
| |
* | mdoc(7) police: Nits.ru2003-03-025-16/+18
| |
* | Explicitly initialize all cdevsw methods with the relevant nofoo() functionphk2003-03-021-0/+11
| | | | | | | | if they are NULL.
* | Spell noread() and nowrite() correctly (ie: not "NULL")phk2003-03-022-4/+4
| |
* | Don't use evil casts in cdevsw initialization.phk2003-03-021-5/+13
| |
* | This commit was generated by cvs2svn to compensate for changes in r111756,obrien2003-03-0219-2911/+0
| | | | | | | | which included commits to RCS files with non-trunk default branches.
* | Another traffice ticket for crossing the .'ed line from the mdoc police.obrien2003-03-021-7/+7
| | | | | | | | Submitted by: ru
* | Use canonical format for cdevsw initialization.phk2003-03-026-50/+79
| |
* | Use canonical format for cdevsw initilization.phk2003-03-021-13/+13
| |
* | Use canonical name for cdevsw initialization.phk2003-03-021-13/+13
| |
* | Use canonical form for cdevsw initialization.phk2003-03-021-13/+13
| |
* | Add two loader tuneables that allow one to change the maximum number ofharti2003-03-022-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | queue items that can be allocated by netgraph and the number of free queue items that are cached on a private list. Netgraph places an upper limit on the number of queue items it may allocate. When there is a large number of netgraph messages travelling through the system (100k/sec and more) there is a high probability, that messages get queued at the nodes and netgraph runs out of queue items. In this case the data flow through netgraph gets blocked. The tuneable for the number of free items lets one trade memory for performance. The tunables are also available as read-only sysctls. PR: kern/47393 Reviewed by: julian Approved by: jake (mentor)
* | More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).des2003-03-0266-226/+226
| |
* | Put cdevsw initialization on canonical format.phk2003-03-021-3/+14
| |
* | Fix cdevsw initialization commit to follow canonical format.phk2003-03-021-1/+1
| |
* | Clean up whitespace, s/register //, refrain from strong urge to ANSIfy.des2003-03-0216-354/+352
| |
* | uiomove-related caddr_t -> void * (just the low-hanging fruit)des2003-03-0217-35/+29
| |
* | Format the cdevsw like all other drivers do it for improved grepability.phk2003-03-021-4/+13
| |
* | Convert one of our main caddr_t consumers, uiomove(9), to void *.des2003-03-022-7/+7
| |
* | wakeup(9) and msleep(9) take void * arguments, not caddr_t.des2003-03-021-3/+3
| |
* | Clean up whitespace, unregisterize, ANSIfy, remove prototypes madedes2003-03-021-55/+19
| | | | | | | | superfluous by ANSIfication.
* | NO_GEOM cleanup:phk2003-03-022-6/+4
| | | | | | | | Remove (actually: Obscurely rename) cdevsw->d_psize() to prevent future use.
* | NO_GEOM cleanup:phk2003-03-021-8/+1
| | | | | | | | Remove cdevsw->d_size() implementation. No longer needed.
* | NO_GEOM cleanup:phk2003-03-022-19/+1
| | | | | | | | Remove cdevsw->d_psize() implementation. It is no longer needed.
* | NO_GEOM cleanup:phk2003-03-021-14/+1
| | | | | | | | Remove cdevsw->d_psize() implementation, we don't need it any more.
* | NO_GEOM cleanup:phk2003-03-021-5/+12
| | | | | | | | | | Use VOP_IOCTL(DIOCGMEDIASIZE) to check the size of a potential swap device instead of the cdevsw->d_psize() method.
* | NO_GEOM cleanup:phk2003-03-021-4/+4
| | | | | | | | | | mcdsize() is not a cdevsw->d_psize function (any more ?) so rename it, give it a better prototype to avoid misusing d_psize_t.
* | NODEVFS cleanup:phk2003-03-024-25/+10
| | | | | | | | Replace devfs_{create,destroy} hooks with direct function calls.
* | Merge tcpdump 3.7.2fenner2003-03-0217-375/+129
| |
* | This commit was generated by cvs2svn to compensate for changes in r111726,fenner2003-03-0235-812/+824
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import tcpdump 3.7.2 (fudging for multi-DLT support) fromfenner2003-03-0251-909/+1009
| | | | | | | | | | | | http://www.tcpdump.org/release/tcpdump-3.7.2.tar.gz
* | | Close out a possible race where anybody in group operator couldmckusick2003-03-021-2/+11
| | | | | | | | | | | | | | | | | | | | | chown an arbitrary file to operator. Reported by: Ian Dowse <iedowse@maths.tcd.ie> Sponsored by: DARPA & NAI Labs.
* | | - Hold the vnode interlock across calls to bgetvp instead of acquiring itjeff2003-03-022-3/+5
| | | | | | | | | | | | | | | internally. This is required to stop multiple bufs from being associated with a single lblkno.
* | | Also allow and document a "build" ordering for variables.obrien2003-03-021-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | Both "product" and "build" ordering are rampant in /usr/src. This document is not indented to be as strict as style(9) as historically BSD hasn't been as consistent about Makefile as C code. Also there are too many variations, exceptions and allowances in out existing Makefile style to be strict. However there is a general level of consensus on what the general BSD style of our Makefiles is. This manpage documents that "smell".
* | | o Do not use VPATH.obrien2003-03-021-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | o Give the proper spelling for WARNS. o Clarify using NO_WERROR. o Embelish -D after -I verbage. o Document preference of ${.ALLSRC} & ${.TARGET} vs. $< & $@. Based on: brucification
* | | Fix 'bulk in' and 'bulk out' being reversed in a couple of error messages.scottl2003-03-021-2/+2
| | |
* | | Mdoc police.obrien2003-03-021-56/+85
| | | | | | | | | | | | Submitted by: ru
* | | Add the mksnap_ffs command to the sbin directory. This setuid rootmckusick2003-03-024-0/+172
| | | | | | | | | | | | | | | | | | | | | | | | program allows users in the operator group to take filesystem snapshots. Its first use will be in support of `dump -L'. Approved by: Technical Review Board <trb@FreeBSD.org> Sponsored by: DARPA & NAI Labs.
* | | Forgot to update the date field; from David Magda <dmagda@magda.ca>.jmallett2003-03-011-1/+1
| | |
* | | Add functionality to only list hosts specified on the command line. If nonejmallett2003-03-012-67/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are specified the old behaviour is old. The submitted applied a much cleaner diff to ruptime.c, however it did not cover cases like listing failures. It would probably be a good idea to move the printing from the ruptime function, and have that function just be used to build the list, as that would unbreak sorting, but this diff is intended to be clear, relative to the original code. As the sort order is the order specified on the command line, for now, such is documented in the manual page accordingly. Submitted by: Edward J. M. Blocklesby <ejb@lythe.org.uk> MFC after: 3 weeks
* | | Teach vm_page_sleep_if_busy() to release the vm_object lock before sleeping.alc2003-03-011-0/+9
| | |
OpenPOWER on IntegriCloud