summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Strip out bogus difference from when this came from NetBSD: transliteratingjmallett2003-03-031-17/+1
| | | | | | | | | | | | | | | | | | upper-case alphabetical characters to lower-case ones, and spaces to dashes. The person who added this when bringing the code from NetBSD has no idea why he added it, and nobody on freebsd-fs came up with any cases where the icky part (the conversion of spaces to underscores) was needed. The removal of the upper-case conversion follows an even more obvious logic: it avoids any sort of namespace issues. People using StUdLy caps for filesystem names deserve everything they get. Otherwise, Efs and efs might be totally different things, but would use the same fsck. And we don't want that, right? That just provokes the sort of foot-shooting this would prevent. If you have problems with this, I'll walk you through using sed on your fstab, cause the only way you could have problems is if you spelled ufs as "UFS". Most likely, you haven't done that. MFC after: 1 month
* Leave the `clobber' target alone, it clobbers too much (includingru2003-03-031-3/+7
| | | | | | the generated Makefile) to be useful as the cleandir replacement. Reported by: des
* Update the number of ports in the ports collection. Although we'vemurray2003-03-031-1/+1
| | | | | gained 400 ports since the last time this was updated, the disk space estimate is still accurate.
* Clean up whitespace and remove register keyword.des2003-03-0311-98/+98
|
* More caddr_t removal, in conjunction with copy{in,out}(9) this time.des2003-03-0313-122/+102
| | | | Also clean up some egregious casts and incorrect use of sizeof.
* Catch up with sys/conf/kern.post.mk,v 1.39 -- we can now useru2003-03-031-3/+1
| | | | | plain ${CLEANDIR} to clean kernel and modules. This has an additional nicety of respecting NOCLEANDIR.
* Revert last commit. File tracks NetBSD.mdodd2003-03-031-13/+13
| | | | Requested by: sam
* - Shift the tick count by 10 and back around sched_pctcpu_update()jeff2003-03-031-2/+8
| | | | | | | calculations. Keep this changes local to the function so the tick count is in its natural form otherwise. Previously 1000 was added each time a tick fired and we divided by 1000 when it was reported. This is done to reduce rounding errors.
* - Document the fact that we now use pam_passwdqc(8) to checkdas2003-03-031-58/+16
| | | | | | | | | | | | password quality, not login.conf(5). - Move warnexpire and warnpasswd from the ``Accounting Limits'' section to ``Authentication'', and nix everything else in the former section. The accounting knobs are not available in the base system, and the subset of them available in ports should be documented in the ports' manpages. PR: 47960 Reviewed by: mike (mentor), doc
* sizeof(struct llc) -> LLC_SNAPFRAMELENmdodd2003-03-037-31/+31
| | | | | sizeof(struct ether_header) -> ETHER_HDR_LEN sizeof(struct fddi_header) -> FDDI_HDR_LEN
* - In sched_add() special case PRI_TIMESHARE and PRI_ITHD|PRI_REALTIME. Wejeff2003-03-031-9/+22
| | | | | | always place ITHD & REALTIME threads on the current queue of the current cpu. Prior to this change an interrupt thread would only ever run on one cpu.
* - Refrain from setting the td_priority in sched_wakeup(). It will be resetjeff2003-03-031-6/+5
| | | | before we return to user space.
* Defer allowing async. requests after self ID's have received.simokawa2003-03-031-7/+6
| | | | | | | | | | This should fix some problem of SBP2 device probing. Prior to rev 1.41, we keep writing the register while bus reset phase. But in rev 1.41, we ignore successive bus reset events and some chips seem to clear the register after we write to it. Tested by: Michael Reifenberger <root@nihil.reifenberger.com>
* Update maintainer. Thanks to Jordan for getting this started, but hemurray2003-03-031-1/+1
| | | | hasn't been the maintainer for at least a year.
* A variety of cosmetic changes, mostly to (slightly) reduce diffs withgad2003-03-031-29/+29
| | | | | | OpenBSD. Except for one added '\n', the object code is not changed. MFC after: 3 weeks
* Collapse two more parameters to dotrim() into the 'ent' parameter that isgad2003-03-031-13/+12
| | | | | | already there. This should not effect anything. MFC after: 3 weeks
* Change to using uid_t and gid_t instead of int. Also change this won'tgad2003-03-031-42/+37
| | | | | | | bother doing a chmod() if neither of these two fields are set. Obtained from: OpenBSD MFC after: 3 weeks
* Restore vendor ID.obrien2003-03-031-2/+2
|
* Use __FBSDID.obrien2003-03-0335-44/+85
|
* Fix a machine check abort caused by the EFI loader trying to open amarcel2003-03-032-2/+4
| | | | | | | | | | | | | | | | | | file in the NFS file system when the underlying device is not a network device. A Sparc64 specific hack for this exact problem was already present (nfs.c:1.9, tftp.c:1.10), but the problem is not specific to Sparc64. The hack has been promoted to a non-i386 test because on non-i386 architectures it's either impossible to have non-network devices coexist in the same loader with the NFS FS, or network and non-network device coexist and NFS filesystems can only be used on top of network devices. I believe i386 pxeboot is where this does not hold. The root cause of this problem is in open.c where each file system is tried until no more file systems exist or a file system returns success. There's no notion of a list of valid file systems given the underlying device and the non-existence of a file can cause the invalid combination to be tried.
* Use IFP2AC() rather than casting to struct arpcom *mdodd2003-03-031-2/+2
|
* De-register.mdodd2003-03-033-19/+19
|
* Fix the interactions between specific log files given on the command line,gad2003-03-031-106/+186
| | | | | | | | | and config-file entries which specify a filename-pattern (glob). It is still not perfectly-right, but at least it isn't completely-wrong. Reviewed by: no objections on freebsd-arch MFC after: 3 weeks MFC addendum: (or after the code-freeze of 4.x is lifted)
* 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
|
OpenPOWER on IntegriCloud