Brian Feldman
6fe761c783
Security fix: correctly set groups according to the user. Previously,
...
root's groups' permissions were being used, so a user could read up to
16 (excluding initial whitespace) bytes of e.g. a wheel-accessible file.
Also, don't allow blocking on the opening of ~/.fakeid, so replace a fopen()
with open() and fdopen(). I knew I'd be going to hell for using C file
streams instead of POSIX syscalls...
2000-11-25 04:13:05 +00:00
Peter Wemm
3f964411b5
Make the xxxFILES= list generation generic. This makes it easier to add
...
things like MFILES= or CONFFILES= without having to modify config code.
2000-11-25 03:25:34 +00:00
Ben Smithurst
759ca2b99f
Fix a layout problem (.It Li -> .Fx)
...
PR: 23055
Submitted by: Jimmy Olgeni <olgeni@uli.it>
2000-11-24 11:17:28 +00:00
Ruslan Ermilov
700f2ee5c3
Eliminate groff(1) warnings.
...
Obtained from: NetBSD
2000-11-23 10:15:50 +00:00
Jun Kuriyama
d83edf4e44
Remove extra ")".
2000-11-23 08:09:45 +00:00
Jordan K. Hubbard
d3ae70097d
Finish the job of conditionalizing the PC98 stuff.
2000-11-22 22:28:34 +00:00
Ruslan Ermilov
b92a189eb9
mdoc(7) police: Er macro usage cleanup.
2000-11-22 16:11:48 +00:00
Ruslan Ermilov
f4d874a1db
mdoc(7) police: do not split author names in the AUTHORS section.
2000-11-22 09:35:58 +00:00
Warner Losh
faa913d76d
Fix buffer overflows in filenames. If you had a path > 80 characters
...
for your /usr/obj/path/to/my/files path to the kernel, then weird
things happened. make buildkernel would fail because config was
dumping core or generating bad file names (depending on the lenght of
the path).
While I was here, also use strlcpy, strlcat and snprintf (or asprintf)
as necessary. Minor format policing for the snprintf calls as well.
2000-11-21 19:58:55 +00:00
Doug Barton
56cda6bf39
If a user is in the database, rmuser ought to be able to remove them.
...
Address this by using getpwnam(), thus killing several birds with
the same stone. My fix is slightly more aggressive than the
originators. :)
PR: misc/22278
2000-11-21 05:52:35 +00:00
Jordan K. Hubbard
c46073c0d0
Update source description to note that everything is now included.
...
Submitted by: Chris Faulhaber <jedgar@fxp.org>
2000-11-21 02:22:31 +00:00
Robert Nordier
3333ebb58f
Wrap over-long line; drop superfluous include.
2000-11-20 20:35:35 +00:00
Ruslan Ermilov
e97407b4f2
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
Jordan K. Hubbard
a41801c68a
finish conditionalizing the PC98 specific options off the PC98
...
compilation variable.
2000-11-20 19:44:17 +00:00
Ruslan Ermilov
7c7fb079b9
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
Sheldon Hearn
3c4d9b1ad5
Fix broken (sectionless) cross-reference in ref 1.10.
2000-11-20 16:09:47 +00:00
Brian Somers
b43607b7f2
Some gratuitous whitespace changes.
2000-11-19 16:58:59 +00:00
Brian Somers
a080fda810
Describe how to tunnel properly.
...
Requested by: Greg Quinlan <greg@macquarrie.com.au>
2000-11-19 16:54:57 +00:00
Brian Somers
385167a6b0
Accept MSCHAPv2 by default.
...
Enable and accept MPPE by default.
2000-11-19 16:53:50 +00:00
Kris Kennaway
ffd4007070
Format string paranoia
2000-11-19 13:30:36 +00:00
Kris Kennaway
c4dfae1d3c
Format string error in warn()
2000-11-19 13:29:43 +00:00
Ruslan Ermilov
acd99ff192
mdoc(7) police: fix errors uncovered by the new feature of the Nm macro.
2000-11-18 15:50:46 +00:00
Ruslan Ermilov
251c176f41
mdoc(7) police: use certified section headers wherever possible.
2000-11-17 11:44:16 +00:00
Brian Somers
80e2e6b62f
Go back to populating data_len in struct ngpppoe_init_data.
2000-11-16 23:15:42 +00:00
Brian Somers
d9374c913e
Be a bit more precise about what ``nat deny_incoming yes'' does.
2000-11-16 21:50:50 +00:00
Ruslan Ermilov
8eee67525a
mdoc(7)ify.
2000-11-16 13:21:17 +00:00
Ben Smithurst
76a06f8483
remove trailing periods from SEE ALSO.
2000-11-15 17:27:54 +00:00
Ben Smithurst
32e5e4cfc3
more removal of trailing periods from SEE ALSO.
2000-11-15 16:44:24 +00:00
Josef Karthauser
08a15190ad
Add and document a new configuration command: buildopts.
...
This allows global make options to be specified within the crunch
configuration file.
2000-11-15 14:33:29 +00:00
Garance A Drosehn
d41a93b658
Eliminate two compile-time warnings.
2000-11-15 06:17:52 +00:00
Garance A Drosehn
f6a3be3940
Fix the '-d' option (turns on socket-debugging). Improve startup msgs.
...
PR: 17178
Submitted by: Richard <satherrl@dssrg.curtin.edu.au>
2000-11-15 06:00:42 +00:00
Garance A Drosehn
59a09735ef
Make sure a few strings will have terminating null characters.
...
(most of the PR 16186 was already applied, except for these 2 lines)
PR: 16186
Submitted by: Przemyslaw Frasunek <venglin@lubi.FreeBSD.lublin.pl>
2000-11-15 04:57:22 +00:00
Garance A Drosehn
a4f87098ce
Reset the seteuid in a few obscure error situations.
2000-11-15 04:10:59 +00:00
Garance A Drosehn
b770f3547d
Just some style-related improvements.
2000-11-15 03:35:09 +00:00
Garance A Drosehn
d96ca75758
Minor style improvements.
2000-11-14 22:08:52 +00:00
Garance A Drosehn
aa538512da
Fix (style) some variable initializations.
2000-11-14 22:03:59 +00:00
Garance A Drosehn
a480d5f20e
Change 'count' to a more descriptive 'jobcount', and fix the stupid
...
comments which claim this counter is counting "files", which it is not.
2000-11-14 21:44:47 +00:00
Garance A Drosehn
a4803ea103
Get rid of 'exit(-1)' calls. Exit codes are limited to 8 bits under most
...
Unixes, so -1 becomes 0xFF for 2's complement and 0xFE (?) for 1's
complement.
Reviewed by: bde@FreeBSD.org
2000-11-14 21:32:52 +00:00
Jordan K. Hubbard
cf47e60dd8
Really turn off srcs for upgrades.
2000-11-14 21:21:53 +00:00
Ruslan Ermilov
b3b01ff362
Added the lastlogin utility.
...
Obtained from: NetBSD
2000-11-14 17:49:38 +00:00
Ruslan Ermilov
b82f5db0ac
Spell the des's name correctly.
2000-11-14 13:19:26 +00:00
Ruslan Ermilov
8e8536e1c2
Spell the sos's name correctly.
2000-11-14 13:09:12 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Jordan K. Hubbard
2d16329250
Replace GNOME + Afterstep choice with GNOME + sawfish. This is a more
...
popular configuration now.
2000-11-14 00:03:52 +00:00
Bill Paul
a614c4dc7b
Close PR# 21843 and PR# 21864. This adds support for WEP and updates some
...
of the data structures to include new members that weren't defined in the
manual I have.
I opted to use Doug Ambrisko's WEP patches since David Cornejo's patches
did not include the necessary changes to ancontrol(8) to actually enable
and use WEP.
NOTE: I don't currently have access to an Aironet card, so I can't test
any of this. Everything compiles and close scrutiny doesn't reveal any
obvious problems, but Murphy's Law applies. This means I will probably
leave these changes in -current for a bit longer than usual until I'm
sure they work right.
2000-11-13 23:04:16 +00:00
Garance A Drosehn
c61c5210be
My previous commit removed a line it wasn't supposed to. Add it back.
2000-11-13 16:21:24 +00:00
Mike Smith
d8134896e9
Add support for decoding the PCI vendor and device ID registers. Add a
...
database of about 1400 vendors and 2700 devices courtesy of
www.yourvote.com/pci. We still need to add some more, but this is a good
start.
2000-11-13 12:08:29 +00:00
Garance A Drosehn
ca52ea3cc8
Replace call to mktemp() with mkstemp. Also move where that call is
...
done, so the correct directory is being checked. The mkstemp() call
is meant to create a temp file for stderrs when running filters. This
update also fixes log-file processing for remote (rm=) queues which
specify an input filter (if=). Before, filter-errs were thrown away.
Now they'll be copied to the queue's logfile (lf=).
Reviewed by: (a little) audit@FreeBSD.ORG & freebsd-print@bostonradio.org
2000-11-13 05:44:50 +00:00
Warner Losh
4e1921ab64
Add raycontrol to the build.
2000-11-12 21:55:21 +00:00
Warner Losh
2bc8b8ee73
Control program for raylan cards.
...
This is based on wicontrol. Duncan updated it for raylan. I've
updated this to the latest wicontrol. In addition, to make it kinda
compatible with ifconfig, you can give the interface name w/o the -i.
Submitted by: duncan barclay
2000-11-12 21:53:40 +00:00