Commit Graph

6081 Commits

Author SHA1 Message Date
brian
32e7e3a6f4 Remove libutil - setproctitle() is now in libc 2000-09-02 20:42:19 +00:00
rwatson
265307e18b Modify extended attribute protection model to authorize based on
attribute namespace and DAC protection on file:
	- Attribute names beginning with '$' are in the system namespace
	- The attribute name "$" is reserved
	- System namespace attributes may only be read/set by suser()
	  or by kernel (cred == NULL)
	- Other attribute names are in the application namespace
	- The attribute name "" is reserved
	- Application namespace attributes are protected in the manner
	  of the target file permission

o Kernel changes
	- Add ufs_extattr_valid_attrname() to check whether the requested
	  attribute "set" or "enable" is appropriate (i.e., non-reserved)
	- Modify ufs_extattr_credcheck() to accept target file vnode, not
	  to take inode uid
	- Modify ufs_extattr_credcheck() to check namespace, then enforce
	  either kernel/suser for system namespace, or vaccess() for
	  application namespace
o EA backing file format changes
	- Remove permission fields from extended attribute backing file
	  header
	- Bump extended attribute backing file header version to 3
o Update extattrctl.c and extattrctl.8
	- Remove now deprecated -r and -w arguments to initattr, as
	  permissions are now implicit
	- (unrelated) fix error reporting and unlinking during failed
	  initattr to remove duplicate/inaccurate error messages, and to
	  only unlink if the failure wasn't in the backing file open()

Obtained from:	TrustedBSD Project
2000-09-02 20:31:26 +00:00
n_hibma
05f99012f7 Don't check for ohci/uhci to be loaded, check for the usb module. 2000-09-02 10:17:58 +00:00
brian
a525370a81 libutil.h is no longer required for setproctitle() 2000-09-02 02:16:51 +00:00
brian
355fa3c5dd libutil is no longer required as setproctitle() has moved to libc 2000-09-02 02:01:18 +00:00
sanpei
c344a8dd37 fix multi io window patch(Rev. 1.48)
Submitted by:	iwasaki
Obtained from:	PAO3
2000-09-01 08:51:37 +00:00
iwasaki
0204b141c2 Activate acpi. 2000-08-31 15:12:23 +00:00
iwasaki
329a532895 This commit was generated by cvs2svn to compensate for changes in r65287,
which included commits to RCS files with non-trunk default branches.
2000-08-31 14:45:00 +00:00
iwasaki
53d00480b6 import amldb(8) from ACPI For FreeBSD project.
Obtained from:  ACPI For FreeBSD project
2000-08-31 14:45:00 +00:00
iwasaki
c5768c22df This commit was generated by cvs2svn to compensate for changes in r65285,
which included commits to RCS files with non-trunk default branches.
2000-08-31 14:42:32 +00:00
iwasaki
2e85c753ff import acpidump(8) from ACPI For FreeBSD project.
Obtained from:  ACPI For FreeBSD project
2000-08-31 14:42:32 +00:00
iwasaki
85af0ee5d6 This commit was generated by cvs2svn to compensate for changes in r65283,
which included commits to RCS files with non-trunk default branches.
2000-08-31 14:41:23 +00:00
iwasaki
8b89c74a2f import acpiconf(8) from ACPI For FreeBSD project.
Obtained from:  ACPI For FreeBSD project
2000-08-31 14:41:23 +00:00
iwasaki
fa26c8d874 Add Makefile for acpi userland tools.
Obtained from:	ACPI For FreeBSD project
2000-08-31 14:38:47 +00:00
rse
edbb616baa Fix resolv.conf line hint: "name-server" -> "nameserver" 2000-08-31 11:13:20 +00:00
brian
2aa91852d8 Use arc4random() instead of random() 2000-08-31 00:45:24 +00:00
brian
f099b097a1 Don't treat two or more whitespace followed by a comment as
an empty argument

PR:	20937 (maybe)
PR:	20938
2000-08-30 20:51:13 +00:00
brian
7154dd90fd Complain about invalid arguments passed to ``set ifaddr'' 2000-08-30 20:49:50 +00:00
iwasaki
2fe95d06d9 A lot of changes on acpi driver code.
- The "Osd*" stuff went away from acpi driver code, use the bus_space
   functions directly instead.
 - Fix minor english bugs.
   acpi_registers_input  -> acpi_register_input
   acpi_registers_output -> acpi_register_output
 - Remove all magic numbers for the sleeping states.  We now have
   #defines for these.
 - NULL is treated the same as the return from aml_get_rootname in
   aml_find_from_namespace().

Suggested by:	msmith

Thanks mike!
2000-08-29 20:30:54 +00:00
brian
663f526221 Correct LogMAX
Broken by:	me
Submitted by:	Mark Hannon <markhannon@one.net.au>
2000-08-29 17:00:52 +00:00
brian
98e223c2f4 Use srandom() under OpenBSD
Submitted by:	Matt Behrens <matt@megaweapon.zigg.com>
2000-08-29 16:47:45 +00:00
sanpei
405679e8ef set pccard insertion beep type in install floppy.
When we use PC-Card as install media, it is a patch
to tell with beep about whether we were able to
recognize it well.

Reviewed by:	jkh, imp
Tested by:	Kenji Yamada <kyamada@ISI.EDU>
2000-08-29 00:42:31 +00:00
brian
3086ff599e Add LogFILTER logging to log packets allowed by the dial filter and
dropped by any filter.

Submitted by: Mark Hannon <markhannon@one.net.au>

with some small tweaks by me.
2000-08-28 23:24:52 +00:00
brian
7cec3bb955 Support radius accounting, and add a packet count to throughput
statistics as a side effect.

Submitted by: Marcin Cieslak <saper@system.pl>

with some tweaks to RAD_ACCT_SESSION_ID and
RAD_ACCT_MULTI_SESSION_ID generation by me.
2000-08-28 22:44:54 +00:00
murray
19ea577894 This allows you to script sysinstall to say "NO" to DHCP and IPv6.
Previously, you could only script these features if you said YES.

Oops.  Accidentally commited to releng_4 first.

PR:		20334
Approved by:	jkh
2000-08-28 18:18:47 +00:00
grog
c749d5cd13 Add the description of some hard-learnt restrictions and a workaround. 2000-08-28 05:47:05 +00:00
jwd
0be80a14d2 Remove a stray backspace character.
Reviewed by:	Eivind Eklund <eivind@FreeBSD.org>
2000-08-27 18:49:12 +00:00
ben
eac78ab0bd Make mergemaster ignore files in /dev if /dev is a devfs.
Approved by:	Doug Barton <Doug@gorean.org>
2000-08-26 12:15:24 +00:00
peter
38a232579c If a ${KERNEL}.hints file exists, and no hints are specified explicitly,
then include the hints with a marker indicating that it is a fallback.
The kernel side of this is to come shortly.
2000-08-25 19:30:03 +00:00
takawata
58c1a1eb36 Add orthogonal part of ACPI support code.
This does not come effect until non-orthogonal part is commited.

Approved by: jkh
Obtained from:	ACPI for FreeBSD CVS repository.
2000-08-24 09:33:30 +00:00
alfred
709440e9c0 the code assumes that getgroups() always returns NGROUPS groups, however
that is not true.  Instead of looping NGROUPS times, get the return value
from getgroups() and loop over the return that many times.

Noticed by: David A. Holland <dholland@eecs.harvard.edu>
2000-08-23 23:36:32 +00:00
bmah
8453edbf3c Update my email address in various places in pkg_version. 2000-08-23 17:10:34 +00:00
billf
b68a18ebd0 Now that Bruce Mah is a committer, retire my co-maintainership
of pkg_version.
2000-08-22 18:42:27 +00:00
roberto
04939c3ffc Correct the naming. The default server is ftp.fr and #1 is the same.
Add back ftp6.
2000-08-22 14:28:16 +00:00
roberto
f04aaf5f49 Reflect the name changes in fr.freebsd.org. 2000-08-22 13:07:59 +00:00
jkh
955b5a8efa Remove device type field - there are no block devices left. 2000-08-22 03:14:39 +00:00
green
83520f8d05 Add working and easy crypt(3)-switching. Yes, we need a whole new API
for crypt(3) by now.  In any case:

Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).

The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)

Reviewed by:	peter
2000-08-22 02:15:54 +00:00
ume
c8ab4476bb Add UNIX domain socket feature to pccardd. This makes pccard
related PAO3/ports such as gxcardmon work.

Reviewed by:	imp
Obtained from:	PAO3
2000-08-20 16:16:57 +00:00
brian
a71971d3bc Make -DNOSUID (or -DPPP_NOSUID) possible to build ppp without SUID
capabilities.
2000-08-18 00:01:44 +00:00
brian
ee86cdd531 Warn that the ``alias'' command is depricated.
We still process it for now though.
2000-08-18 00:01:30 +00:00
dwmalone
f841c45b7a Allow people to set the default boot slice with boot0cfg.
PR:		18923
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by:	jhb
Approved by:	rnordier
2000-08-17 18:42:13 +00:00
brian
9eb1c36e92 If we're in MP mode with a single open link, MP link level compression
isn't open and the links MRU >= our MRRU, send outbound traffic as
PROTO_IP rather than PROTO_MP.  This shaves some bytes off the front
of each packet 'till the second link is brought up.

Idea obtained from: Cisco
2000-08-17 14:14:54 +00:00
jhb
fb004552c1 Add in the linux, tcl83, and tk83 ports categories.
PR:		bin/20328
Submitted by:	obrien
2000-08-16 18:44:40 +00:00
jhb
fdbad45e8e Add new 'ruby' ports category.
PR:		conf/20629
Submitted by:	asami
2000-08-16 17:44:35 +00:00
brian
ea6a9d137e ISDN B channels have a bandwidth of 64000, not 65536
Pointed out by: Christian Weisgerber <naddy@mips.inka.de>
2000-08-16 13:54:04 +00:00
brian
56c7875fa7 If the -p option is used, use setproctitle() to hide it's argument
(a password) asap.
2000-08-16 12:01:17 +00:00
brian
93644de57d setproctitle() doesn't need to be called with root privs, so move
it from id.c into defs.c
2000-08-16 09:07:23 +00:00
brian
354677f962 Default the bandwidth of an ISDN B channel to 65536bps 2000-08-16 09:06:59 +00:00
brian
b114512bb4 Maintain input and output throughput averages and choose the highest
of the two when calculating the MP throughput average for the ``set
autoload'' implementation.

This makes more sense as all links I know of are full-duplex.  This
also means that people may need to adjust their autoload settings
as 100% bandwidth is now the theoretical maximum rather than 200%
(but of course, halfing the current settings is probably not the
correct answer either!).

This involves a ppp version bump as we need to pass an extra
throughput array through the MP local domain socket.
2000-08-15 10:25:42 +00:00
joe
6689dc2259 When warning that a log file can't be compressed, tell the reader which
log file it was.
2000-08-15 09:34:41 +00:00