Commit Graph

139686 Commits

Author SHA1 Message Date
uwe
88fc0ed1ac Since we have ipf/pf in the config (commented out), add pertinent
options as well (commented out too).
2005-09-04 16:07:46 +00:00
kiyohara
db37c957e1 Support the 'PCMCIA adapter BOX' for OpenBlockS266. 2005-09-04 15:23:55 +00:00
shige
044ec00fc2 Support LED-control via sysctl (on=1/off=0).
Sysctl name: hw.obsled.led{1,2,4}.

Submitted by kiyohara.
2005-09-04 12:20:15 +00:00
isaki
100f9bce03 typo in comment. (since 1994?!) 2005-09-04 10:41:36 +00:00
isaki
7da7168234 typo in comment. 2005-09-04 10:40:51 +00:00
lukem
898fa7c553 Fix the installation of /etc/defaults/pf.boot.conf so that it works
with -s etc.tgz.
2005-09-04 10:13:15 +00:00
kleink
95ca674ab9 Make COM_DEBUG compile again in the wake of -Wwrite-strings;
from Nicolas Joly in PR kern/31141.
2005-09-04 09:48:53 +00:00
kiyohara
e8ae1a1119 Support 'PCMCIA adapter BOX' for OpenBlockS266. 2005-09-04 07:24:57 +00:00
skrll
d465bfe236 Re-organise a bit to reduce diff to FreeBSD. 2005-09-04 06:58:20 +00:00
uwe
13830db076 Tell hpcfb that framebuffer fetches 16-bit pixels as little endian. 2005-09-04 01:01:29 +00:00
uwe
81bf6b30a3 For HPCFB_CLASS_RGBCOLOR class propagate r/g/b widths and positions
from hf_rgb to rasops_info.
2005-09-04 00:54:42 +00:00
uwe
46f38c7fc9 We don't need <sys/bswap.h> here. 2005-09-03 22:55:55 +00:00
martin
6dd6a3eb59 In adjust_rights() Use CMSG_SPACE() to calculate the number of
filedescriptors passed in this message - the counterpart in
unp_externalize does this as well.

Note that CMSG_SPACE(0) does not make sense, since it does not invoke
the alignment magic - so use CMSG_SPACE(sizeof(int)) and adjust the
calculated total later.

This fixes the postfix conection cache for 64bit platforms. Previously
the number of passed filed descriptors (nfds) would have been
calculeted too high, causing the fdrelease() of uninitialized junk.
2005-09-03 22:48:35 +00:00
dsl
d802408333 Remove support for ATAPI and SCSI tapes from INSTALL and INSTALL_TINY.
This (just about) counteracts the bloat added by the 64bit inode changes
and the the larger data structures of the new ioconf.c.
The 'st' driver got fingered itself because of it's own size increase
caused by the addition of the stats.
2005-09-03 20:38:07 +00:00
dsl
1ac6a7dc0f Tell pax to use 8k (not 10k) buffers when generating the tar archive
of 'boot' and 'netbsd'.
This makes it possible for the tar archive to end at the end of the 2.88M
floppy, instead of either 4k before, or 6k after.
Gives us a whole extra 4k.
The very observant might realise that we don't need the final 1024 bytes
of nulls written to the floppy either, so they could be deleted!
2005-09-03 20:34:28 +00:00
martin
f435538d40 minor knf tweak 2005-09-03 19:44:20 +00:00
kleink
c69ab4901b udp4_espinudp(): don't assume that the Non-ESP marker (or UDP payload)
is aligned on a 64-bit boundary.
2005-09-03 18:01:07 +00:00
elad
e6a2d9e984 Simplify man-page a bit.
Patch from Patrick Welche.
2005-09-03 11:44:45 +00:00
elad
d095dfcecb Change examples; we're using /etc/signatures and not vexec.conf.
Change the message that appears at the end of the fingerprint generation
to match what the user really needs to do.
2005-09-03 10:22:21 +00:00
elad
c38a64b2fe We have SHA2 in cksum(1); no need for digest from pkgsrc anymore. 2005-09-03 10:11:31 +00:00
blymn
f115e176d8 New style fingerprint generation script. 2005-09-03 09:57:10 +00:00
tron
f3d8c7f103 Move entry for ipsec-tools 0.6.1 update to "CHANGES.prev" after it has
been pulled up into the "netbsd-3" branch.
2005-09-03 08:48:28 +00:00
rpaulo
f20c174719 Place the sysctl code under an if block and print an error message if the
user tries to fetch information via kvm.

Discussed with Elad Efrat.
2005-09-02 22:52:24 +00:00
rpaulo
d65009381e Request process information using sysctl(3) and not kvm(3) since bpf(4)
statistics and peers are only available using the former.
2005-09-02 22:23:13 +00:00
rillig
3177b76827 Fixed white-space. 2005-09-02 22:06:53 +00:00
rpaulo
3f51653817 de-__P() and use ANSI function declarations. 2005-09-02 21:26:47 +00:00
rillig
aede7f6775 Made the code of the grsortu function smaller and simpler. Ok'ed by
christos.
2005-09-02 20:51:53 +00:00
xtraeme
52f9067be9 Remove an extra conditional while searching for LFS superblocks,
it's not needed.
2005-09-02 17:48:40 +00:00
elad
6383828527 Avoid defining max. hash length ugliness simply by passing NULL for the
buffer to the File routines.

Noted by pooka@.
2005-09-02 17:39:23 +00:00
elad
d05d5cada8 Use MAXHASHLEN here too. 2005-09-02 17:12:38 +00:00
elad
871155c6cf Forgot +1 for NUL termination. 2005-09-02 16:52:34 +00:00
elad
50b96d774b Use MAXHASHLEN to indicate largest possible hash.
Fixes buffer overflow found by xtraeme@.
2005-09-02 16:52:03 +00:00
rpaulo
6459ccf2df Add freebsd_sysctl.c 2005-09-02 14:34:53 +00:00
rpaulo
257017665e Add a SYSCTL_SETUP_PROTO() so that it compiles fine in the lkm. 2005-09-02 14:34:00 +00:00
elad
b0e6e3b381 Sync comments with 64-bit inode changes. 2005-09-02 14:16:50 +00:00
rpaulo
5530080d86 Add freebsd_sched.c 2005-09-02 13:34:46 +00:00
jwise
3deae99425 Add proper support for using bsd.hostprog.mk to build c++-based host
programs -- doesn't affect current host tools build (groff is built the
Makefile.gnuhost way).

Provides {.cc,.cpp,.cxx,.C}.lo rule, associated variables, and HOSTPROG_CXX
support (mirroring PROG_CXX in bsd.prog.mk).

Tested with from-scratch `build.sh tools' and full system build.
2005-09-02 03:57:10 +00:00
grant
6c093fe5a9 openssh 4.2 is out. 2005-09-02 00:21:45 +00:00
jwise
c21f37fb93 On second thought, we can't just pass through -isystem-cxx, we have to
change it to -isystem.  With this change, I can now make depend a simple c++
stl-using host program.
2005-09-01 21:51:11 +00:00
elad
8f1a245ebd Use default_md = sha1 in ``req'' section too, so we don't fallback to MD5.
Noted by smb@.
2005-09-01 21:35:25 +00:00
jwise
97ec3a6bc9 Recognize -isystem-cxx as well as -isystem, making this more usable for c++
host progs.
2005-09-01 21:17:31 +00:00
rpaulo
9dd9c0444a Add FreeBSD 4.11 and 5.4. 2005-09-01 18:39:08 +00:00
rpaulo
95abecf761 We already pass WARNS=3. 2005-09-01 18:27:24 +00:00
skrll
299aad0068 Complete the attach message - there is nothing interesting to report.
Remove some debug stuff.
2005-09-01 18:10:20 +00:00
rpaulo
0a8fc88cf5 Remove the localhost ip6.int example since, as per RFC 4159, ip6.int is
now depreciated.

Discussedon tech-net.
2005-09-01 14:02:01 +00:00
kleink
d272861eb2 In the wake of C99 (which dropped the implicit int), add a type specifier
to the declarations to keep them warning-free; also add some clarifying
words that the globals are _located at_ those addresses.

Inspired by a conversation with Takayoshi Kochi.
2005-09-01 12:39:33 +00:00
christos
7791a8f18b Also protect the ipsec ioctls from negative offsets to prevent panics
in m_copydata(). Pointed out by Karl Janmar. Move the negative offset
check from kernfs_xread() to kernfs_read().
2005-09-01 06:25:26 +00:00
yamt
74be61b2e6 remove one of duplicated forward decl. of vmspace. pointed by Dheeraj S. 2005-09-01 02:21:12 +00:00
yamt
2cebed8c78 don't include uvm_extern.h twice. 2005-09-01 02:19:40 +00:00
yamt
c6b465a33e revert rev.1.99 as it is no longer necessary. 2005-09-01 02:18:19 +00:00