Commit Graph

139520 Commits

Author SHA1 Message Date
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
yamt
b34f62d5e9 put back uvm_fault.h for now as it's needed for some ports. 2005-09-01 02:16:46 +00:00
dyoung
fab0410101 If ioctl(,WDOGIOC_SMODE,) fails, kill the child process before
killing self, instead of the other way around.

Fixes a bug where the child process would use 100% CPU spinning
while it waited for its parent to arm a non-existent watchdog timer.
Now, the child process gets killed, as was intended.
2005-08-31 18:28:58 +00:00
dyoung
1c952b1b24 Cosmetic: KNF. 2005-08-31 18:21:39 +00:00
he
eb89cd94e9 Now that <ufs/ufsmount.h> includes <ufs/extattr.h>, we also need
<sys/vnode.h> and <sys/vnode_if.h> to bring the definition of struct
vop_getextattr_args into scope.  Fixes build problem for arc.
2005-08-31 16:01:56 +00:00
he
2a3f4bfe4a This one needs "pseudo-device md 1". Patch taken from PR evbppc/31097.
Fixes build problem.
2005-08-31 15:23:06 +00:00
christos
218f69d99f Don't allow negative offsets when reading the message buffer, because it
can allow reading arbitrary kernel memory.
2005-08-31 09:54:54 +00:00
he
0bd65b04de Now that uvm_extern.h no longer includes uvm_fault.h, we need to include
the latter explicitly.
2005-08-31 07:07:29 +00:00
lukem
aca67b86d3 Fix parallel build race in CONFIGSYMLINKS & CONFIGLINKS by
makeing configlinksinstall depend upon configfilesinstall.
2005-08-31 05:08:24 +00:00
ginsbach
031f929a6c Add full IPv6 syntax support when route is built with -DSMALL and -DINET6.
Fixes PR/23937.  Adapted from supplied patch.
2005-08-31 02:58:30 +00:00
martin
ebe6c135ee Fix bogus uninitialized variable warning ifdef PPPOE_SERVER.
Noticed by Marcin Jessa on current-users.
2005-08-31 00:00:26 +00:00
xtraeme
323d4b7a78 oops, fix previous. 2005-08-30 22:27:16 +00:00
xtraeme
535b5fed29 * Remove __P()
* Use ANSI function declarations
2005-08-30 22:24:11 +00:00
xtraeme
23ebf62d26 * Remove __P()
* Use ANSI function declarations on ext2fs and mfs
2005-08-30 22:01:12 +00:00
skrll
3a28b8e5de Let the net80211 layer handle the transition to INIT as well.
Testing by salo and me suggests that PR 31010 is fixed.
2005-08-30 21:18:47 +00:00
skrll
95c40e1648 Disestablish the power and shutdown hooks when detaching. 2005-08-30 21:14:29 +00:00
skrll
acd9563ce6 KNF (and reduced diff to FreeBSD) 2005-08-30 21:05:47 +00:00