Commit Graph

6507 Commits

Author SHA1 Message Date
gad
1c23b9fe4c Fix 'printit()' to ignore some lines it doesn't recognize (most likely
coming from lprNG hosts), and print a more helpful error msg for others.
2000-11-08 00:52:11 +00:00
brian
6974325c37 Introduce another global (MPPE_IsServer) so that we initiate the
MPPE session keys correctly.

I'm a bit dubious about this code.  It seems that the session keys
are initialised differently based on whether you're the client or
the server.  One side is the server if it issues the first challenge,
but of course you can issue a challenge from both sides.... at the
same time.  Sounds like another wonderful M$ assumption...

Ppp can now talk to itself correctly using encryption.

Problem solved by:	Ustimenko Semen <semen@iclub.nsu.ru>
Hair torn out by:	me
2000-11-07 23:19:11 +00:00
jkh
8ba83fb185 For High security profile, set securelevel to 1 to protect /dev/*mem
and mounted disks, among other things.

Requested by:	kirk
2000-11-07 23:05:14 +00:00
hosokawa
53a86f3ed9 Added Intel Gigabit Ethernet card to device menu. 2000-11-07 09:16:14 +00:00
brian
31abe5a51d Handle being given a connect()ed udp descriptor as stdin rather
than assuming it's unconnected.
2000-11-07 04:29:46 +00:00
brian
92cfe77599 Pass the correct output options to the ccp output initialisation
routine rather than passing it the first requested output option.

Ensure that options are freed correctly even if we don't reach
TLU.
2000-11-07 04:29:33 +00:00
gad
bbf9719ec9 Cosmetic change of a structure name.
Turn    'struct queue { q_time, q_name }'           (loosely-speaking)
into    'struct jobqueue { job_time, job_cfname }'

Reviewed by:	GAWollman
2000-11-06 19:36:38 +00:00
gad
89b359e211 Get rid of a minor compile-time warning. 2000-11-06 19:19:49 +00:00
ru
dad57abd02 Avoid use of tbl(1). 2000-11-06 12:03:43 +00:00
dwmalone
d4f0ebca68 Attempt to fix problem with users being able to convince the crontab
program to read any file which is a valid crontab file.

The fix is based on that used in NetBSD and OpenBSD - we keep the
file open while the user is editing it. This means that files must
be edited in place. Cron attempts to warn you if your editor does
not do this. The fact that the file must be edited in place is also
noted in the man page.

This patch has been confirmed to work by atleast one person on
-security and has been tested locally.

Obtained from:	OpenBSD
2000-11-06 11:17:37 +00:00
hosokawa
73079989d1 release/sysinstall/lndir.c has not been used, but statically linked
to sysinstall for long time.  Remove it.
2000-11-06 09:28:54 +00:00
gad
1d76f798e1 Cosmetic improvements to a few recvjob-related error messages. 2000-11-06 04:37:56 +00:00
gad
0740bf26b8 Fix a format-code, thus getting rid of a compile-time warning msg. 2000-11-06 04:11:56 +00:00
truckman
8848151ef6 Back out change to prepend /sbin:/bin to $PATH, just overwrite $PATH
with these in the normal case.

Set MAKEDEVPATH in sysinstall to include the /mnt2 stuff before starting
the fixit shell.
2000-11-05 17:59:29 +00:00
brian
6ec032d154 Merge some OpenBSD/NetBSD fixes to the recent MPPE/CHAP0x81 update. 2000-11-05 03:25:09 +00:00
gad
ea120b3d5e Fix potential problem processing jobs from hosts with >32 character hostnames.
This may fix a problem reported by Juha Ylitalo <juha.o.ylitalo@nokia.com>
2000-11-05 03:24:26 +00:00
gad
d438e90b94 Fix 'lprm' processing so is more likely to work correctly when dealing
with long (>32 character) hostnames.

PR:		14978
Submitted by:	Tatsuya Kudoh <cdr@cosmonet.org>
2000-11-05 03:21:57 +00:00
gad
ddef9c422e In the error-message routine for receiving a job, move the "cleanup" to be
after the error message is printed, because the error message may refer to
variables the "cleanup" routine will zero out.

PR:		21007
2000-11-05 02:24:20 +00:00
rnordier
f88d0cfdeb Add support for creating a.out output files in addition to ELF.
This allows booting from compressed binaries using older bootstraps.

Thanks to: dwmalone
2000-11-04 13:02:00 +00:00
joe
e5dc3b154a Cause prog_make targets to include a ``make obj'' rule if the -o flag
is given to crunchgen.
[ This fixes the previous commit which silently added ``make obj'' ]
2000-11-03 15:48:58 +00:00
joe
ac32fca6d8 A missing feature of crunchgen was the ability to supply make options on
a per program basis.

This has now been added in the following way:

* Harness the make header file that's specified with the -h argument:
  - Allow the user to define $(OPTS) to specify make arguments that should
    be added to every program target.
  - Allow the user to define $(prog_OPTS) to specify make arguments that
    should just be added to the build of 'prog'.

* Make sure that $(OPTS) and $(prog_OPTS) are defined when looking through
  each program's make file to determine which object files to crunch.

* When building the crunchgen makefile add $(OPTS) and $(prog_OPTS)
  to the depend and build rules for $(prog_OBJS).
2000-11-03 15:35:27 +00:00
jkh
609d052a6f Update ports count to "over 4000" 2000-11-03 10:05:26 +00:00
gad
39a203c585 This update gets it so 'lpr -r' ("remove the file after printing") will
try to move the file from the source to the destination (spool) directory.
If that succeeds, much time and disk-space will be saved by doing that
instead of copying the entire file only to remove the original.  This
could be a big win on machines doing samba-service or CAP-based printing.

Note that this is about the fourth or fifth iteration of the patch, after
trying to address all possible security implications of the change.

PR:		16124
Reviewed by:	freebsd-current or freebsd-hackers (some time ago)
2000-11-03 03:29:01 +00:00
gad
a1eb432b37 Implement new printcap options of sr= (aka stat.recv) and sr= (aka stat.send)
in lpd.  Stat.recv is useful on a printserver, as something of a network
performance-monitoring tool.  Stat.send is a minimal accounting record of
sorts for jobs going to tcp/ip based printers.

Reviewed by:	freebsd-print@bostonradio.org
2000-11-02 19:22:06 +00:00
sheldonh
1c0ca06222 Fix cross-references which referred to xntp* instead of ntp*.
PR:		22483
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
2000-11-02 09:32:24 +00:00
kris
72647b2f26 Don't use a trivially predictable temporary filename and keep recreating
it again and again, practically begging the Bad Man to insert his symlink
underneath it and send us down the path to oblivion.

Noticed by:	David Lary <dlary@secureworks.net>
2000-11-02 06:33:57 +00:00
hm
fe6a0401f4 - correct the trace file date/time format to match reality
- add mail address of Gary Jennejohn and change mine to @freebsd.org
2000-11-01 14:55:02 +00:00
sheldonh
dc8cd8a56e Whitespace only: Correct poor line-breaking introduced in rev 1.17,
which was limited to correcting mark-up.
2000-11-01 07:51:14 +00:00
sheldonh
9cf31df90c Correct mark-up used in rev 1.16, as discussed with its contributor:
* Use a sub-section (Ss) instead of a section (Sh) for
  "Sysctl MIB Entries".

* Use a tagged list (Bl, El and It) instead of sub-sections (Ss) for
  the actual MIB entries.

* Mark paths up as such (Pa).

* Mark defined values up as such (Dv).
2000-11-01 07:49:29 +00:00
dougb
cffc40c48c Reorder one of the new features based on experience. Since the number
of files auto-installed during an upgrade from a really old system
can get quite long, and it's piped to the PAGER already, print
that first, then print any of the 4 two-line messages that might
apply.
2000-11-01 07:21:56 +00:00
gad
edbbc12a19 Change 'lpr' so -C (class) information is included in the control file
even for jobs or queues which will not print header (separator) pages.

Submitted by:	"Steve O'Hara-Smith" <steveo@eircom.net>
2000-11-01 01:48:06 +00:00
brian
25ea00025d Don't ignore the return from tcsetattr() - moan about it instead.
Suggested by: Andre Albsmeier <andre@akademie3000.de>
2000-10-31 23:27:35 +00:00
nectar
458734c296 Build with -DUSE_INET6 so that we can actually use the IPv6 support in
IPFilter 3.4.x.

Approved by:	darrenr, guido
2000-10-31 22:29:27 +00:00
gad
a66de2a428 Make the standard 'lpq' output a little more informative when listing jobs
which have long names.  Instead of just listing '...', try to list some
reasonable subset of the name (with a "..." to indicate something missing).

Reviewed by:	freebsd-print@bostonradio.org (only a little review)
2000-10-31 20:11:30 +00:00
gad
c08c6b6976 Fix 'lpq' so it can correctly display jobs which come from hosts using
'lprNG' (which writes control-lines in a different order than our lpr).

Reviewed by:	freebsd-print@bostonradio.org
2000-10-31 19:57:07 +00:00
hm
f9fd8c57c3 Don't issue a warning if isdncontroller is set to -1 2000-10-31 09:59:04 +00:00
hosokawa
f306aafb4e Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.
http://people.freebsd.org/~hosokawa/driver-floppy/ for details.

Reviewed by:	current@FreeBSD.org
2000-10-31 07:39:07 +00:00
hosokawa
3c8caa4f0a Forgotten RELEASE_CRUNCH hack for mppe.c.
This fix is for "make release" and "make boot.flp".
2000-10-31 05:00:25 +00:00
brian
54fe531ed1 Use the new-style ngpppoe_init_data structure.
Approved by: archie
2000-10-31 02:46:12 +00:00
brian
7fd65a0aa9 Mention that ``nat deny_incoming'' drops unrecognised IP packets.
Requested by: kris
2000-10-31 02:25:54 +00:00
rwatson
fef304a6d7 o Document various sysctl's available for managing services available
within jail()
2000-10-31 01:47:59 +00:00
jkh
57f1667b96 Changes have been made to support a concept of VAR_FIXIT_TTY being
standard or serial.  This change needs to be done to the entire system that
depends on this.  This way we don't have some code using OnVTY checks
and other doing
        strcmp(variable_get(VAR_FIXIT_TTY), "standard") == 0
checks.  Also we need to set VAR_FIXIT_TTY to "serial" if we come up on
a serial console.

Also fixed a dialog problem in that dialog was used when dialog was
disabled causing some troubles such as not letting the cursor keys
work when exiting the fixit mode on media (ie. not the fixit shell but
for example fixit on a floppy).

Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
PR:		22352
2000-10-30 23:46:12 +00:00
brian
c6435e2600 Drop PKT_ALIAS_IGNORED packets if ``nat deny_incoming yes'' is in effect.
Approved by: rwatson, ru
2000-10-30 18:02:01 +00:00
dougb
2442f09e83 Add several new features, reorder some code, and continue with the
process of making the script more cross platform friendly.

* Add -i option to automatically install files that do not exist
  on the system already.
* Add the ability to specify DESTDIR.
* Allow the user to specify scripts to run right before the
  comparison starts, and when mm is done. This will
  allow the user to specify customized local behavior, and
  implement features such as automatically deleting files.
* Document the above changes in the man page.
* Switch to using 'ident' for the CVS Id comparison, which
  should help with portability, and makes it faster.
* Reorder, and in one case fix some code by doing things in
  ways that make more sense.
* Check to see if the file exists on the system before doing
  the comparisons. This saves CPU cycles, and streamlines
  the auto-install process.

I used bits and pieces of suggestions and patches from various
people, ultimately too numerous to name. Which is not to say
that they were not both appreciated, and helpful in achieving
the ultimate result.
2000-10-30 10:33:51 +00:00
gad
247b0ae936 Change my email on MAINTAINER from an RPI address to my FreeBSD address. 2000-10-30 01:09:32 +00:00
brian
52b542b382 Add ``all'' logging.
Submitted by: eivind
2000-10-30 00:15:35 +00:00
brian
81f3fa8c1a Bump our version to reflect the recent MPPE additions (and ccp struct
size change).
2000-10-30 00:15:34 +00:00
brian
0c4b3b4810 Move the MPPE keysize display in ``show ccp''. 2000-10-30 00:15:33 +00:00
brian
a9774df976 Various whitespace changes.
Make some functions static.
2000-10-30 00:15:29 +00:00
brian
3f2f60366b staticise mbuftype() 2000-10-30 00:15:27 +00:00
brian
a1fe609fda Add MPPE and MSChap v2 support (denied and disabled by default)
Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
2000-10-30 00:15:04 +00:00
ume
32ca223329 - Sync with latest manpage of rtadvd.
- Ripped MIP6 related description out.  MIP6 is not merged, yet.

Obtained from:	KAME Project
2000-10-29 16:44:10 +00:00
nik
dd4d7fd497 Link kbdmap.5 to keymap.5
PR:		docs/19995 docs/20298
2000-10-29 15:49:03 +00:00
des
4dc296ff41 Insetad of using fileno(ftp) as stdin for tar, use a pipe and have the
parent pass the data received from the server to the child.
2000-10-29 15:39:51 +00:00
n_hibma
0b0d1a4306 Be explicit about the fact that you can only specify one IP address/hostname 2000-10-29 13:49:18 +00:00
sos
9002a5f803 Add the ATA RAID device 'ar'. 2000-10-29 13:04:04 +00:00
eivind
5523c894ed Teach sysinstall how to restart itself on Ctrl-C (as an addition to its old
tricks of rebooting and continuing where it was.)

Reviewed by:	jkh, jhb
2000-10-29 09:57:50 +00:00
dougb
bafc7dbc74 Update copyright 2000-10-29 09:41:06 +00:00
dougb
30dd35df08 More changes that don't modify functionality.
* More whitespace
* Change read -p to echo -n/read to help support portability
* Genericize an informational message regarding /.cshrc and /.profile
  for the same reason
2000-10-29 09:40:22 +00:00
dougb
c1084b34f4 Whitespace only. Make the style of the contributed sections consistent with
the rest of the file. (Read, put it back the way I like it.)
2000-10-29 07:47:51 +00:00
brian
be6d090264 Ignore ``#'' properly when told to 2000-10-28 23:56:03 +00:00
joe
abed0eb79c Make '-i iface' optional. Assume an0 if it's not otherwise specified. 2000-10-28 23:33:28 +00:00
ume
2f7ce77b2d some clarification on if_getmtu()
- avoid to use freed (by freeifaddrs) data
  - 1st try getifaddrs, then try SIOCGIFMTU as the last resort

Submitted by:	JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Obtained from:	KAME Project
2000-10-28 17:57:38 +00:00
joe
3be17e911a When an interface isn't specified use wi0 as the default.
This gets around a segmentation fault that occurs when the interface
isn't specified first before any of the options.

Inspired by PR:	 bin/22241
2000-10-28 16:25:25 +00:00
joe
7b6a077c3f When an interface isn't specified use wi0 as the default.
This gets around a segmentation fault that occurs when the interface
isn't specified first before any of the options.

Inspired by PR:	bin/22241
2000-10-28 16:18:41 +00:00
gallatin
9250ece0e9 cleanups of my previous, quick & dirty fix of unaligned access errors on alpha.
submitted by: bde
2000-10-28 14:26:23 +00:00
sanpei
4dda8545f9 add PC-Card melody beep(PC Card bus, kludge version)
Original idea from:	PAO3
2000-10-28 13:35:34 +00:00
brian
864beb59b8 Report the type of mbuf that couldn't be allocated before
aborting ppp.
2000-10-27 05:34:40 +00:00
gshapiro
e2312795f1 Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
bmah
6dcbc7011c Sigh. It'd be nice to completely commit a bugfix. Once again:
Fix a bug in which pkg_version(1) was ignoring $PORTREVISION
or $PORTEPOCH from ports' Makefile definitions.
2000-10-26 21:50:41 +00:00
bmah
b3e332969a Fix a bug in which pkg_version(1) was ignoring $PORTREVISION
or $PORTEPOCH from ports' Makefile definitions.
2000-10-26 21:38:44 +00:00
dwmalone
d4f31feb77 Improve some slightly confused formatting.
Reviewed by:	sheldonh
2000-10-26 19:24:29 +00:00
gallatin
121750fd50 fix unaligned access errors caused by bad scanf/printf format strings
PR: alpha/21247
tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
2000-10-26 17:40:14 +00:00
gallatin
defd9221f5 fix unaligned access errors by copying untyped data to properly aligned
locals
PR: alpha/13912
obtained from: NetBSD
tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
2000-10-26 17:35:46 +00:00
jkh
26fdf1cf21 More explicitly set crypto bits.
Partially submitted by:	Jeff Kletsky <jeff@spotlife.com>
2000-10-26 13:19:02 +00:00
jkh
d94a4fed28 Shorten the labels in the keymap menu so it fits smaller screens.
Submitted by:	pho
2000-10-26 12:32:28 +00:00
hm
52a1e9eb64 Add infrastructure for Cologne Chip HFC-S PCI driver. 2000-10-26 07:00:05 +00:00
billf
e7f9595092 Almost a year exactly from when I first imported mergemaster at freebsdcon,
remove myself as co-maintainer and let Doug handle all the fun.
2000-10-26 05:36:35 +00:00
bmah
d025c98d4d Utilize the "-o" (origin) option recently added to pkg_create(1)
and pkg_info(1), for more accurate determination of the
"up-to-date-ness" of installed packages.
2000-10-25 17:10:20 +00:00
kuriyama
3596d8354c Trim right column messages to display correctly in 80-column terminal.
Reviewed by:	jkh
2000-10-25 11:36:31 +00:00
dwmalone
11aa246976 Fix two typos in comments.
PR:		22268
Submitted by:	Daniel S. Lewart <d-lewart@uiuc.edu>
2000-10-24 18:47:57 +00:00
gshapiro
0827169dc9 Fix up the build for the STARTTLS version of sendmail (again). This method
mimics that of tcpdump in that for normal builds, sendmail will only be
built once.  For 'make release', it is built once for the bin dist and
once for the crypto dist.  This method also removes the need for two separate
Makefiles (which could become out of sync).

Suggested by: bde
Assisted by: kris
2000-10-24 16:04:56 +00:00
sobomax
254d567a68 Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to record
a path of the port from which package has been created within FreeBSD Ports
Collection and will be used to improve pkg_version(1) and similar tools.

Reviewed by:	ports@FreeBSD.org, jkh
Approved by:	jkh
2000-10-23 07:01:31 +00:00
jkh
aa761fd55e Cause fatal error messages to be a little more helpful to the programmer
concerning where they're taking place.

Switch from [r]index() to str[r]chr() functions, which are more ISO
compliant.

Prompted by:	Edward Welbourne <eddy@vortigen.demon.co.uk>
2000-10-22 09:53:27 +00:00
ume
aab4ecfb05 Popup IPv6 dialog, again. 2000-10-21 14:06:24 +00:00
dwmalone
5e89f1a757 Claim maintainership of inetd. 2000-10-21 09:44:46 +00:00
dwmalone
4e9f258d91 Don't leak a file discriptor if a service we've called accept() for
loops.

Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
2000-10-21 09:43:12 +00:00
sanpei
570de28bbf add -I option, ``Don't get and use a list of free
IRQs from kernel.''..

With IBM ThinkPad600.  ``sio1'' was disabled in BIOS
and irq 3 was free (also not listed in dmesg), I think.
But I could not use irq 3 for PC-Card with new(PIOCSRESOURCE
ioctl enabled) pccardd.
2000-10-20 13:08:18 +00:00
bmah
d92bef0992 Add -L option to limit the package status characters the user *doesn't*
want to see.

Submitted by:	Doug Barton <DougB@gorean.org>
2000-10-20 06:16:18 +00:00
bmah
ea7bef8f10 Make pkg_version -c -l work.
PR:		bin/19019
Submitted by:	Stijn Hoop <stijn@win.tue.nl>
2000-10-20 06:00:28 +00:00
des
dda07165ca Trim index lines down to 79 characters, not 80.
Approved by:	jkh
2000-10-18 20:16:26 +00:00
dwmalone
a202f660bd Syslogd normally converts messages of facility kern to facility
user unless they come directly from the kernel. Document this and
add a flag to syslogd which prevents this conversion.

Sort getopt args while I'm at it.

PR:		21788
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
2000-10-17 10:19:42 +00:00
dwmalone
33b04fbcd3 Fix spelling of comparison. 2000-10-17 10:14:51 +00:00
brian
78716dee93 Include sys/types.h 2000-10-16 09:14:44 +00:00
brian
ddac34ecb2 Use rad_acct_open() instead of rad_auth_open().
Suggested by: Victor Ivanov <v0rbiz@icon.bg>
2000-10-15 01:05:57 +00:00
brian
f855811d0b Don't define NOATM now that /usr/include/netnatm/ is created properly. 2000-10-15 00:46:58 +00:00
paul
faf2f7ad92 Since -e and -r are right next to each other prompt before clobbering
a crontab you were planning to edit.
2000-10-15 00:35:34 +00:00
jkh
8f9e2bc2e1 Add another security configuration profile, call it "high" and
rename the previous one to indicate that it's not just high, it's
extreme (everything off, secure level raised).

Submitted mostly by:	Tony Finch <dot@dotat.at>
2000-10-14 21:02:31 +00:00
phk
5635e5a530 Make it possible to specify profiling in the kernel config file.
Do so for LINT.
2000-10-14 08:33:22 +00:00
gshapiro
c103ff9902 ../Makefile.inc was clobbering BINDIR so sendmail was being installed in
/usr/sbin/ instead of /usr/libexec/sendmail/

Submitted by:	bde
2000-10-13 16:51:05 +00:00
sanpei
7b09c45c49 cosmetic: resource -> res 2000-10-13 15:11:48 +00:00
bde
76afbe1928 Fixed world breakage -- don't depend on <machine/soundcard.h> existing;
the symlink from <sys/soundcard.h> to <machine/soundcard.h> is worse
than useless since it doesn't exist in the SHARED=symlinks case.
2000-10-13 11:55:13 +00:00
sanpei
b1e21ca997 Fix bug in ``the selection of pccard IRQs fully selectable''
in rev.1.12.
card_irq is local variable, not global variable
(variable_set2 and variable_get)

Reviewed by:	jkh
2000-10-13 09:51:18 +00:00
gshapiro
2d246e5848 Remove STARTTLS support as it breaks builds without crypto installed.
Waiting to hear back regarding the best way to do this.
2000-10-12 17:04:32 +00:00
peter
2225f5e71f With apoligies to Greg Shapiro, fix the world. The previous commit
lost -lutil and -lwrap by replacing $LDADD and $DPADD rather than
appending to them with +=.
2000-10-11 12:19:42 +00:00
gshapiro
c1aaccb362 Style fixes 2000-10-11 05:04:21 +00:00
gshapiro
3fa189d754 NOCRYPT imples NO_OPENSSL.
Still need to solve the distribution problem.

Submitted by:	kris
2000-10-11 03:35:32 +00:00
gshapiro
4c16456564 Build sendmail with STARTTLS support unless NO_OPENSSL is set. 2000-10-10 18:15:41 +00:00
hm
bcd5619615 Do not exit when no holiday file is found. Issue warning and continue. 2000-10-10 13:28:49 +00:00
sanpei
22e199d220 print out error reason if it was failed in assign_io
Obtained from:	PAO3
2000-10-10 13:01:18 +00:00
wollman
5e8b712997 Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
2000-10-10 01:50:26 +00:00
archie
3b25712a62 Fix bug in "read" command.
Submitted by:	Dave Cornelius <dc@packetdesign.com>
2000-10-10 01:34:20 +00:00
brian
38d20cb09b If write() gives -1/ENOBUFS, keep the packet and sleep for 1/10th
of a second before attempting to write it again (unless there's
something else to do instead).
2000-10-09 22:49:44 +00:00
brian
04b784a95b Create fd_sets big enough to handle getdtablesize() descriptors. 2000-10-09 21:18:23 +00:00
bmah
fdea75d5c4 Fix typo: terrabytes->terabytes.
PR:		docs/21837
Submitted by:	Tony Finch <dot@dotat.at>
2000-10-09 21:17:16 +00:00
hm
01e2ae3164 remove MAINTAINER: i'll develop and maintain i4b from now on in the
FreeBSD-current tree
2000-10-09 14:29:16 +00:00
hm
3ab90621da update to i4b version 0.95.04 2000-10-09 14:22:51 +00:00
sumikawa
658571f513 - simplify option flags
- do not print header when using -c
- linklocal address are not cleared when using -c

Obtained from:	KAME
2000-10-09 09:28:49 +00:00
kris
2b56a7adeb String buffer overflow cleanup.
Reviewed by:	green, alex
2000-10-09 09:07:45 +00:00
phk
112ef7f020 Initiate deorbit burn sequence for <machine/mouse.h>.
Replace all in-tree uses with <sys/mouse.h> which repo-copied a few
moments ago from src/sys/i386/include/mouse.h by peter.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/mouse.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/mouse.h> files will be removed.
2000-10-09 08:08:36 +00:00
kris
006a1e0d11 String buffer safety cleanup. I don't think any of these were exploitable
remotely, but they would be if e.g. it happened to call the logging
function using a DNS hostname.

Also replace random() by arc4random() - only one of these is arguably
required since it's directly used in the protocol, but we might as
well replace both to avoid using two different PRNGs.

Reviewed by:	green, alex
2000-10-09 06:08:00 +00:00
phk
c0aadf7521 Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
bde
55a208811a Fixed printf format errors which corrupted /var/db/mounttab on i386's with
64-bit longs (don't assume that time_t is long; assume that time_t's are
representable as longs).
2000-10-08 09:24:45 +00:00
kris
0f1e74f32e Enable use of poll() 2000-10-08 09:09:05 +00:00
kris
f3f3da25b8 Sync with KAME. Don't write past the end of the fd_set.
Obtained from:	KAME
2000-10-08 07:52:08 +00:00
kris
81eac37125 Sync with KAME. Format string auditing and manpage cleanups.
Obtained from:	KAME
Submitted by:	Bill Sommerfeld <sommerfeld@netbsd.org>
2000-10-08 07:43:38 +00:00
kris
87de277560 Sync with KAME. Format string auditing and manpage cleanups.
Obtained from:	KAME
Submitted by:	Bill Sommerfeld <sommerfeld@netbsd.org>
2000-10-08 07:36:35 +00:00
kris
764f0b7b35 Sync with KAME. Format string auditing, and add -a flag to autoprobe
interfaces.

Obtained from:	KAME
2000-10-06 23:46:52 +00:00
phk
5190795ad0 Don't try to compare other attributes if the type doesn't match, it's
nothing but trouble, and no use anyway.
2000-10-06 12:48:55 +00:00
phk
fadfcd8824 Don't whine about modes on symlinks. 2000-10-06 12:27:36 +00:00
murray
af4a54d3b5 PR: 21729
Approved by:	jkh

Write kern_securelevel_enable variable to rc.conf if user selects
medium or low security in sysinstall.  This overrides the case where a
user selects fascist security and then tries to go back to a lower
setting.
2000-10-05 23:27:32 +00:00
jkh
e1c796b9a7 If user selects no distributions at all, assume "User" as
a default.  This should prevent people from whacking return at
the Distributions menu and getting nothing selected as a result
(a minimal "standard" system will at least install).

Flagged as big tech support headache by: Chris Shumway <cshumway@osd.bsdi.com>
2000-10-05 18:02:09 +00:00
sheldonh
a2dc5f0833 Fix abuse of the Pa, Nm and Ar macros. This necessitated a rewording
of the description for the "power" internal command.

Reviewed by:	sanpei
2000-10-05 07:18:59 +00:00
sanpei
7fe55eb5ba check {IO,IRQ}_ASSIGNED flags before
release {io,irq} resources.

fix multi io window in release io routine

PR:		20454
2000-10-04 15:22:09 +00:00
phk
dcbc210157 Make the output of mtree(8) more systematic and machine readable.
The new format is:

        filename        {changed,missing,extra}
                $field expected $foo found $bar
                ...

Fix various bugs along the way:
        Don't complain about directory sizes differing.
        Correctly check flags.
2000-10-03 13:13:47 +00:00
rnordier
d38fc1bf5d Reflect new packet option default. 2000-10-02 23:16:58 +00:00
rnordier
80749590c8 Set MAINTAINER. 2000-10-02 17:23:16 +00:00
nyan
59310c6a98 Added NEC PC-9801-83, 84, PC-9801-103, 104, PC-9801N-25 and PC-9801N-J02R
support which use National Semiconductor DP8393X (SONIC) as ethernet
controller. Currently, this driver is used on only PC-98.

Submitted by:	Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
Obtained from:	NetBSD/pc98
2000-10-02 14:27:20 +00:00
dwmalone
553d863ccf Make reconfiguring an external service as builtin service work.
PR:		21650
Submitted by:	ben
Tested by:	dan@ducky.nz.freebsd.org
2000-10-02 12:08:27 +00:00
dwmalone
c8e4adfd3a Stop internal ident service spinning until the timeout if the
connection goes away. Spotted by people on -STABLE about 2 weeks
ago.

Submitted by:	Based on a patch by alfred and Maxime Henrion <mux@qualys.com>
2000-10-02 12:04:17 +00:00
iwasaki
6a42dd0f83 Fix StallOp implementaion. I've noticed that StallOp corresponds to
OsdSleepUsec(), SleepOp corresponds to OsdSleep() by reading ACPICA
source code.
 - Add OsdSleepUsec() which uses DELAY() simply.
 - Change unit of acpi_sleep() argument; microseconds to milliseconds.
2000-10-02 08:58:50 +00:00
peter
5b829bc9d3 Really fix the struct callout collision. AMD does not need to
#include <sys/mbuf.h>.  (which #include's <machine/mutex.h> and then
<sys/proc.h> and then <sys/callout.h>, leading to the collision).
<sys/mbuf.h> is really one of those 'no user servicable parts inside'
things.
2000-10-02 08:31:20 +00:00
sanpei
26b5cf578e fix some minor problem in PIOCSRESOURCE ioctl.
- If resource which was allocated for pcic was
  requested via this ioctl, bus_alloc_resource
  would be succeeded and that resource was
  returned as free resource.  So check whether
  requested resource was used for pcic or not
  before bus_alloc_resource test.

- merge SYS_RES_IRQ routine into other SYS_RES_*
  routine and clean up.

problem reported by:	Yohei Terada <terada@jiro.c.u-tokyo.ac.jp>
2000-10-01 12:36:14 +00:00
iwasaki
0e66ae5da5 Remove ACPI_NO_OSDFUNC_INLINE option from kernel configuration. Now
that it's enabled in acpireg.h only if DIAGNOSTIC option is specified.
ACPICA OSD functions will be compiled in machine/acpi_machdep.c again
tentatively (if DIAGNOSTIC option is specified).
# Should we have acpica_osd.c ?
2000-10-01 08:17:47 +00:00
iwasaki
96bc33066e - Add acpi_disable_events() and set it with EVENTHANDLER_REGISTER in order to
avoid power on again problem after acpi_soft_off() calling.
 - Implement SleepOp/StallOp in AML interpreter.  Also provide ACPICA
   compatibility.
 - Minor changes on __inline function declaration in acpica_osd.h
   (obtained from NetBSD porting).
2000-09-30 22:37:24 +00:00
msmith
644847c8e2 Update include paths for new header locations.
Submitted by:	iwasaki
2000-09-30 20:13:57 +00:00
msmith
08f48871d9 More updates to the ACPI code:
- Move all register I/O into acpi_io.c
 - Move event handling into acpi_event.c
 - Reorganise headers into acpivar/acpireg/acpiio
 - Move find-RSDT and find-ACPI-owned-memory into acpi_machdep
 - Allocate all resources (except those detailed only by AML)
   as real resources.  Add infrastructure that will make adding
   resource support to AML code easy.
 - Remove all ACPI #ifdefs in non-ACPI code
 - Removed unnecessary includes
 - Minor style and commenting fixes

Reviewed by:	iwasaki
2000-09-30 20:12:27 +00:00
dfr
6c0971c115 Add ia64 support. 2000-09-29 13:36:47 +00:00
jkh
ac9450defb Adjust for new location and name of kernel.
PR:		21423
Reported by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-09-29 07:47:19 +00:00
wollman
e575947f65 Fix cosmetic error in rmjob message.
PR:		21006
2000-09-27 19:23:15 +00:00
wollman
101d0d046c Set SO_REUSEADDR so that lpd can start while old lpd connections are still
winding down (or timing out).  Also, be slightly more informative in
mcleanup() about why lpd is exiting.

PR:		21595
2000-09-27 19:03:05 +00:00
jkh
598d81263d Fix specification for ftp5.fr.freebsd.org
Reported by:	Jean-Claude Christophe <jch@oleane.net>
2000-09-27 17:23:57 +00:00
jkh
57cccf7e72 Fix the http proxy fetch code.
Submitted by:	Philipp Mergenthaler <p@i609.hadiko.de>
PR:		21449
2000-09-25 20:19:43 +00:00
ache
25ad27fd84 Re-add -P option (for POSIX-like command line interface) 2000-09-25 16:24:22 +00:00
phk
e03bdcefec GC some old no longer supported options. 2000-09-25 12:38:55 +00:00
marko
4455a7db67 Fix typo 2000-09-25 10:49:10 +00:00
marko
ad22c711eb Make the ``-r'' option actually do something :)
Also tidy up it's output.

Approved by:	jkh
2000-09-25 07:27:05 +00:00
jkh
46fab06d29 Fix a small bogon with a boolean yes/no question check. 2000-09-25 07:15:19 +00:00
jkh
9732291fa5 Add Lithuania.
Submitted by:	Domas Mituzas <midom@dammit.lt>
2000-09-24 06:53:04 +00:00
jkh
abcd503f0c One small tweak on the security profile code; don't be verbose if
setting up default values for an express/custom install.  It would
be confusing to see the informational popup completely out of context.
2000-09-24 06:44:00 +00:00
alfred
d49bef6eca Add forgotten -n option to SYNOPSIS section
Submitted by: Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>
2000-09-23 22:38:56 +00:00
sanpei
eff3fa4409 add ``xe'' driver
Approved by:	jkh
2000-09-22 23:48:27 +00:00
msmith
62f1eb038d Update the mptable manpage to remove mention of kernel options (which
there aren't going to be shortly).
2000-09-22 21:10:41 +00:00
msmith
f00a09e010 Stop printing out the Nfoo options help, since these tunables are about to
go away.
2000-09-22 21:07:24 +00:00
jkh
72be95b3bb One whack at the idea of having "security profiles" which select the
appropriate(?) defaults for "low", "medium" and "high" security
environments.  Medium is basically what we currently have with a little
seat-belt tightening where it made sense.  Low is the same as medium but
without the tightening.  High is positively fascist with nothing turned
on by default and an automatic call to 911 if it can find a modem.
2000-09-22 19:12:41 +00:00
jkh
abe325e592 Remove the bogus check against "none" for release names (which
really doesn't make any sense, what was I smoking) and allow
the more canonical usage of "any" for either side of the comparison
for release name or architecture (meaning you can also set CD_VERSION=any
in a cdrom.inf file to cause sysinstall to always match it and likewise
with the architecture, if specified).

Sensibly suggested by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-09-22 08:13:36 +00:00
sobomax
68c78b422c "zope language" --> "zope platform".
Requested by:	asami
2000-09-22 06:53:44 +00:00
asami
630e011cf4 Add french and zope. 2000-09-22 06:32:55 +00:00
sanpei
59ef536c4d add ``check free resource rage code''
for PC-Card which has no address in cis.
2000-09-21 13:13:00 +00:00
iwasaki
46b9951ab4 Fix LINT breakage by options ACPI_NO_OSDFUNC_INLINE.
Also space/tab-fix in NOTE.
Grrr, my bad.

Pointed-out by:	eivind
2000-09-21 13:01:19 +00:00
wpaul
b11e8d24fd Fix PR #21245: handle wep keys correctly and pretty print hex keys
as appropriate. Nick: this sort of does what your changes did, except
the hex/text printing is done automatically using isprint().
2000-09-21 00:25:07 +00:00
iwasaki
fbe5d6f93b Add new function in AML interpreter; aml_invoke_method().
Also remove unneeded includes in aml_obj.c and aml_parse.c.

This new function takes 'struct aml_name *' as a argument rather than
'char *' where aml_invoke_method_by_name() does.  It's worth to have
these two interfaces in many cases.
2000-09-20 22:53:39 +00:00
brian
0c4a93afb3 Fix a typo
Spotted by: Manfred Antar <null@pozo.com>
2000-09-20 19:59:44 +00:00
wpaul
10c4bf4076 Add a new driver for the AMD PCnet/FAST, FAST+ and Home PCI adapters.
Previously, these cards were supported by the lnc driver (and they
still are, but the pcn driver will claim them first), which is fine
except the lnc driver runs them in 16-bit LANCE compatibility mode.
The pcn driver runs these chips in 32-bit mode and uses the RX alignment
feature to achieve zero-copy receive. (Which puts it in the same
class as the xl, fxp and tl chipsets.) This driver is also MI, so it
will work on the x86 and alpha platforms. (The lnc driver is still
needed to support non-PCI cards. At some point, I'll need to newbusify
it so that it too will me MI.)

The Am79c978 HomePNA adapter is also supported.
2000-09-20 17:30:22 +00:00
sanpei
a81de55d66 fix previous PIOCSRESOURCE code in assign_card_index 2000-09-20 14:54:21 +00:00
iwasaki
815c8f2861 Improve region I/O sub-routines by re-writing most of low level part
of AML interpreter.
 - Delete and cleanup a lot of almost duplicated code in kernel/userland.
 - Add new common functions for kernel/userland code.
      aml_adjust_readvalue(), aml_adjust_updatevalue(),
      aml_region_handle_alloc(), aml_region_handle_free() and
      aml_region_io().
 - Add primitive functions for both versions of kernel/userland in order to
   have shared code as much as possible.
      aml_region_read_simple(), aml_region_write_simple(),
      aml_region_prompt_read(), aml_region_prompt_write() and
      aml_region_prompt_update_value().
 - Consider update rule and access type in field flags. Also add a lot of
   definitions for the flags.
 - Fix bugs on bit manipulation for read/write operations.
 - Fix bugs on IndexField I/O part.  Also add workaround for temporary
   object corruption during StoreOp interpretation.
2000-09-20 01:01:32 +00:00
brian
cdad9fdf87 Put temporary output in ${TMPDIR:-/tmp}
If $<basedir>_output is not set, don't redirect output

PR:	21395
2000-09-19 22:15:00 +00:00
brian
b0edc06581 Don't clobber $? before using it.
Submitted by:	James Barkley <jbarkley@wgate.com>
2000-09-19 21:46:54 +00:00
imp
0297a25aa2 Fix unexploitable off by one error as mentioned on Bugtraq. 2000-09-19 21:22:20 +00:00
jkh
fd0199960a Simplify the ftp directory search code a little and eliminate a warning. 2000-09-19 07:45:08 +00:00
sobomax
32a51ae654 Fix symlink-to-a-dir handling in pkg_delete.
Reviewed by:	-ports
Tested by:	bento
2000-09-18 07:41:48 +00:00
ume
7c4c83b3c1 cope with the following reply on PASV (without paren). need more tests.
227 Entering Passive Mode x,x,x,x,x,x,x

Obtained from:	KAME (1.8->1.9)
2000-09-17 16:44:51 +00:00
sanpei
ae974aa25a pccard_beep parameter was already supported by rc.conf.
(removed in Rev.1.3)(A(B
2000-09-17 16:37:36 +00:00
sanpei
b7b2e21255 add PIOCSRESOURCE(IOC_GET_RESOURCE_RANGE)
Now /usr/sbin/pccardd read free resource(io,irq) range with
this ioctl.

Original Idea from:	PAO3
2000-09-17 15:37:53 +00:00
gshapiro
7d6c747f15 Give users a way to alter the sendmail (and related utilities) build
environment so they can enable functionality such as SASL, LDAP, Hesiod.
2000-09-17 00:41:33 +00:00
nsayer
ba4b7369d4 Forgot semicolon after rcsid
Submitted by:	gshapiro
2000-09-17 00:37:38 +00:00
brian
28ca59bb84 Fix situations where none of the scripts executed produce output,
so that we don't see any more ``null message body, hope that's
ok'' messages.

We now see something like ``No output from the 3 files processed''.

Lump all output for a given periodic argument together so that
people with /usr/local/etc/periodic/daily (for example) will
get the output of those jobs together with the normal daily run
rather than getting a second email.

Prompted by: ben
2000-09-16 21:59:34 +00:00
jkh
503223e804 Enable crypto by default with "canned" distributions (it can still
be deselected or simply not chosen in a custom install).
2000-09-16 21:15:21 +00:00
nsayer
7d5e08df01 1. In key printing routine, the loop variable was j, but inside the
loop was referencing i.

2. Print keys in hex rather than ascii by default.

3. Add a -a flag to reverse #2 on demand.
2000-09-16 20:54:59 +00:00
ache
e690f012cf Remove unneded -lmytinfo 2000-09-16 04:27:30 +00:00
ache
6d7b369241 Remove unneded -ltermcap or -lmytinfo 2000-09-16 04:19:07 +00:00
ache
1e2a4a6d3e Remove unneded -lmytinfo 2000-09-16 03:56:25 +00:00
ache
8d91a4d36b Remove unneded -lmytinfo 2000-09-16 03:33:00 +00:00
iwasaki
016590b285 Fix typo (rc.conf -> pccard.conf).
Submitted by:	OKAZAKI Tetsurou <okazaki@be.to>
2000-09-15 19:17:40 +00:00
jkh
f280f2c156 Correct variable check for VAR_TRY_DHCP. 2000-09-15 08:15:14 +00:00
ache
b436b49df3 Restore standard symlink default, return -L, remove -P, add missing -q to getopt
This is part of whole subsystem fixing

Reviewed by:	imp
2000-09-15 08:05:37 +00:00
bmah
6546c6614e pkg_version(1) will now distinguish between the different cases where
the exact relationship between an installed package and its
corresponding entry in the index file can't be determined.

Submitted by:	Mark Ovens <marko@freebsd.org>
2000-09-15 04:16:20 +00:00
iwasaki
793d745e49 Add manpages acpi userland tools.
Obtained from:	ACPI for FreeBSD project
2000-09-14 22:48:39 +00:00
brian
557cda66fe Fix some style nits 2000-09-14 22:03:13 +00:00
brian
6749e2b041 Support PPPoATM, disabled for now as /usr/include/netnatm doesn't exist
Submitted by: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
2000-09-14 22:02:54 +00:00
brian
6984ac4815 Understand IPPROTO_ESP and IPPROTO_AH packets
Submitted by: Angelos D. Keromytis <angelos@dsl.cis.upenn.edu>
2000-09-14 18:01:54 +00:00
brian
1de91cddf9 Another overhaul of the periodic stuff.
All periodic sub-scripts <larf> now have their return codes interpreted
by periodic(8).  Output may be masked based on variable values in
periodic.conf.

It's also now possible to email periodic output to arbitrary addresses,
or to send it to a log file, examples of which can be found in
newsyslog.conf.

The upshot of it all should be no discernable changes to the default
behaviour of periodic(8).

PR:	21250
2000-09-14 17:19:15 +00:00
bde
48dbfe2955 Fixed breakage of installation of kbdcontrol.1 in previous commit.
Fixed style bugs.
2000-09-14 05:29:42 +00:00
sheldonh
fa7c371ffa Pass a useful pathname to rlink(). Many thanks to the PR originator
for all the debugging work.

PR:		21017
Reported by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
Submitted by:	Jos Backus <josb@cncdsl.com>,
2000-09-13 12:54:33 +00:00
dwmalone
877806a863 Add kbdmap.5 to build.
Refer to kbdmap(5) from a few man pages.
Remove it from TODO list.
Add missing FreeBSD tags.

PR:		19260
2000-09-13 09:16:57 +00:00
dwmalone
769edf1f50 Man page for the file format accepted by "kbdcontrol -l".
PR:		19260
Reviewed by:	sheldonh
2000-09-13 09:02:07 +00:00
msmith
1a5c812599 Teach sysinstall about 'aac'. 2000-09-13 06:15:53 +00:00
gshapiro
7e3e64090b Allow users to add libraries for sendmail (e.g. Cyrus SASL)
Obtained from:	Sergei Vyshenski <svysh@pn.sinp.msu.ru>
2000-09-13 04:16:16 +00:00
rwatson
ad7907a326 o What a good idea, `-o'' should be a `-f'' like in every other
utility that is cautious but sometimes you want to be less
  cautious.  Go figure.

Submitted by:	sheldonh
2000-09-12 14:35:48 +00:00
rwatson
ae59bf3562 o Add a ``-o'' argument to initattr, which causes extattrctl to overwrite
the existing attribute file rather than aborting with an error.
o Useful if you want to reset the state of attributes on the system without
  allocating different disk blocks through deletion and recreation,
  for example, if you're doing benchmarks of extended attribute code. :-)

Obtained from:	TrustedBSD Project
2000-09-12 04:40:34 +00:00
dwmalone
00ac9ef44f Add the ability to define a "shutdown" and "shutdown and poweroff" key
to syscons. I have a man page to follow describing the format of the
kbdmap file.

PR:		19273
Reviewed by:	sheldonh
2000-09-11 20:37:42 +00:00
bmah
fac42afbfd Arrgh. Back out a change used during debugging and fix a typo. 2000-09-11 18:25:12 +00:00
sheldonh
d4394b5810 Mark a path up with Pa. 2000-09-11 10:21:10 +00:00
sheldonh
b41395e0d4 Whitespace-only change: apply normal line breaking style. 2000-09-11 10:19:15 +00:00
kato
dfb5186fa0 Moved boot0cfg into IBM-PC only section (MACHINE=="i386").
Pointed out by:	nyan
2000-09-10 15:33:07 +00:00
bmah
f6a5d847fc Remove a workaround for a long-fixed bug in fetch(1).
Update URL for on-line Ports Collection INDEX file.
2000-09-09 21:45:19 +00:00
bmah
5e10228fd6 pkg_version.pl now understands the new package/port numbering scheme
introduced by version 1.349 of ports/Mk/bsd.port.mk and originally
submitted by kris.

In particular, it understands the $PORTREVISION (FreeBSD-specific changes
or patches to a port) and $PORTEPOCH (for re-sorting version numbers
when not used or when broken).
2000-09-09 21:28:06 +00:00
rnordier
c12cdcc57c Provide correct information regarding "packet" option default.
PR:            20936
Originated by: obrien
2000-09-09 18:30:48 +00:00
rwatson
f1f4a951bb o When pre-allocating attribute storage space, also allocate space for
attribute instance headers, or higher inode numbers will require
  additional disk blocks to be allocated later.

Obtained from:	TrustedBSD Project
2000-09-07 20:32:31 +00:00
jkh
5856df84c0 MFS: sync with -stable by removing the now-vestigal X_AS_PKG stuff. 2000-09-07 16:05:52 +00:00
brian
90f3734fad Spelling police
Submitted by:	des
2000-09-06 21:02:06 +00:00
nectar
4ded299256 Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
  functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
    . getgrent, getgrnam, getgrgid
    . getpwent, getpwnam, getpwuid
    . getusershell
    . getaddrinfo
    . gethostbyname, gethostbyname2, gethostbyaddr
    . getnetbyname, getnetbyaddr
    . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc.  rc.network has been modified
  to warn that host.conf is no longer used at boot time.  In addition, if
  there is a host.conf but no nsswitch.conf, the latter is created at boot
  time from the former.

Obtained from:	NetBSD
2000-09-06 18:16:48 +00:00
sheldonh
73e8d2256c Add ftp.no.freebsd.org.
PR:		21068
Submitted by:	Martin Eggen <martin@copyleft.no>
2000-09-06 13:16:58 +00:00
jkh
995130e08f enable sshd by default. This only effects *new* installs, so
upgraders will not receive any unpleasant surprises.
2000-09-04 15:50:15 +00:00
sheldonh
f0d501c021 Whitespace-only: remove the only hard sentence break in the file. 2000-09-04 08:58:41 +00:00
brian
49c8686158 Don't use libutil now that setproctitle() is in libc 2000-09-02 20:52:15 +00:00
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