des
367fd86546
Vendor import of OpenSSH 4.6p1 for posterity's sake
2008-07-23 09:15:38 +00:00
des
e3cfeae816
svn:keywords is not appropriate for vendor trees.
2008-07-23 09:12:05 +00:00
kib
42aeaf36b0
Do the pargs_hold() on the copy of the pointer to the p_args of the
...
child process immediately after bulk bcopy() without dropping the
process lock.
Since process is not single-threaded when forking, dropping and
reacquiring the lock allows an other thread to change the process title
of the parent in between, and results in hold being done on the invalid
pointer. The problem manifested itself as the double free of the old
p_args.
Reported by: kris
Reviewed by: jhb
MFC after: 1 week
2008-07-23 08:45:25 +00:00
rwatson
5a7f32b6bb
Minor white space tweak.
...
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-23 07:42:31 +00:00
imp
125cb1d713
First cut at doing the kvm file needed for mips.
...
Obtained from: gonzo@
2008-07-23 07:24:55 +00:00
imp
33e1957f1b
Only descend into the boot directory for the architecture if it
...
actually exists and is a directory or symlink to a directory.
2008-07-23 07:23:33 +00:00
imp
89fba4c0a9
Disable SSP for mips until support is added to the base architecture.
2008-07-23 06:16:34 +00:00
imp
d2f1100583
Turn of SSP for mips for now until support is added to the base
...
architecture.
2008-07-23 06:14:21 +00:00
weongyo
dd99ad9101
remove reference for unexisting ndisapi(9)
2008-07-23 05:50:17 +00:00
pgollucci
861df0f077
Adding myself as a new ports committer
...
Reviewed by: gabor (mentor)
Approved by: araujo (mentor)
2008-07-23 01:37:04 +00:00
wxs
3485fc0291
Retroactively add my entry and link to garga. Forgot to do this when I
...
got my commit bit.
2008-07-23 01:19:56 +00:00
delphij
56a762a726
Sync with NetBSD's license changes.
2008-07-23 00:03:36 +00:00
ed
1e4302f67a
Move the NFS/RPC code away from lbolt.
...
The kernel has a special wchan called `lbolt', which is triggered each
second. It doesn't seem to be used a lot and it seems pretty redundant,
because we can specify a timeout value to the *sleep() routines. In an
attempt to eventually remove lbolt, make the NFS/RPC code use a timeout
of `hz' when trying to reconnect.
Only the TTY code (not MPSAFE TTY) and the VFS syncer seem to use lbolt
now.
Reviewed by: attilio, jhb
Approved by: philip (mentor), alfred, dfr
2008-07-22 21:27:22 +00:00
des
f1596419c2
Properly flatten openssh/dist.
2008-07-22 19:01:18 +00:00
des
666aa9cc16
Revert part of 180714 - the intent was to flatten dist, not to nuke it.
2008-07-22 18:58:19 +00:00
peter
dfa80a42e2
Trivial commit to attempt to diagnose a svn problem. Add
...
comment that Tivo disks are APM, but do not have a DDR record.
2008-07-22 18:05:50 +00:00
rwatson
cd2c5f1658
If an AUE_SYSCTL_NONADMIN audit event is selected, generate a record
...
with equivilent content to AUE_SYSCTL.
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 17:54:32 +00:00
rwatson
08b4415065
Further minor style fixes to audit.
...
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 17:49:30 +00:00
des
624d93001f
Flatten the OpenSSH vendor tree for 3.x and newer.
2008-07-22 17:13:05 +00:00
ache
9ead8ff088
Fixes based on bde's feedback.
...
1) Unindent and sort variables.
2) Indent struct members.
3) Remove _packed, use guaranteed >128 bytes size and only first 128
bytes from the structure.
4) Reword comment.
Obtained from: bde
2008-07-22 17:10:18 +00:00
rwatson
127019df41
Remove unneeded \ at the end of a macro.
...
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 17:08:27 +00:00
rwatson
50a48758fb
Further minor white space tweaks.
...
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 17:06:49 +00:00
rwatson
979e045da6
Generally avoid <space><tab> as a white space anomoly.
...
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 16:44:48 +00:00
rwatson
e116c89c78
Use #define<tab> rather than #define<space>.
...
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 16:21:59 +00:00
ache
d7f1be43be
1) Initialize arc4_i and arc4_j to 0 after key mixing as recommended in
...
draft-kaukonen-cipher-arcfour-03.txt (3.1.5)
2) Drop first 768 bytes as standard RC4-drop(768)
2008-07-22 16:16:51 +00:00
rwatson
91cafa1d13
Comment fix.
...
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 16:02:21 +00:00
vanhu
bee865addd
Added me as a commiter
...
Approved by: gnn (mentor)
2008-07-22 16:01:57 +00:00
rwatson
1c685378bd
Comment typo fix.
...
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 15:54:10 +00:00
rwatson
01de8b976c
Minor white space synchronization to Apple version of security audit.
...
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 15:49:19 +00:00
rwatson
6a481435b2
In preparation to sync Apple and FreeBSD versions of security audit,
...
pick up the Apple Computer -> Apple change in their copyright and
license templates.
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 15:29:48 +00:00
ache
639d7e6fa8
Change /dev/urandom to /dev/random since urandom marked as
...
XXX Deprecated
alias in /sys/dev/random/randomdev.c
2008-07-22 15:25:35 +00:00
rwatson
c3ca4b7705
Use unsigned int when iterating over groupsets in audit_arg_groupset().
...
Obtained from: Apple Inc.
MFC after: 3 days
2008-07-22 15:17:21 +00:00
ache
e3afb9ef3c
Use arc4random_uniform(3) since modulo size is not power of 2
2008-07-22 15:08:50 +00:00
maxim
3348213ee8
o Alan Shepard was first American in the space; fix attribution.
...
o Correct Alan's surname.
PR: bin/125812
Submitted by: Derek Taylor [1], gavin [2]
MFC after: 1 week
2008-07-22 14:21:56 +00:00
stas
442ea27fed
- Whitespace fixes.
...
Approved by: gonzo
MFC after: 1 week
2008-07-22 14:04:06 +00:00
marius
9bda798c14
o Fix style(9) bugs and similar nits.
...
o Merge ncr53c9x.c from NetBSD:
1.115: fix variable shadowing
1.118: __inline -> inline
1.121: fix empty if
2008-07-22 13:51:21 +00:00
ache
d3860f979e
Bump __FreeBSD_version for arc4random_buf() and arc4random_uniform()
...
added.
2008-07-22 13:38:17 +00:00
ache
1cdd160d50
In arc4random_uniform() detect simple "power of two" case and
...
return just (arc4random() % upper_bound)
2008-07-22 12:43:09 +00:00
ache
e1bf8eba27
Add arc4random_uniform()
...
Obtained from: OpenBSD
2008-07-22 11:40:42 +00:00
ache
06e39c3b36
Add arc4random_uniform() function (to avoid "modulo bias")
...
Obtained from: OpenBSD
2008-07-22 11:33:49 +00:00
ache
31393d8a07
Increase initially dropped bytes from 512 to 768 (768 is also
...
suggested in the Ilya Mironov's article). 768 taken from another
research where it treats as default for RC4-drop(768):
http://www.users.zetnet.co.uk/hopwood/crypto/scan/cs.html#RC4-drop
Minor style tweak.
2008-07-22 10:31:29 +00:00
marius
f3fc48dfb6
For sun4v ensure there is an opt_global.h with SUN4V defined included,
...
even for the stand-alone build.
2008-07-22 09:56:45 +00:00
cognet
c79e409a88
Disable SSP for the kernel on arm as well (see rev 180605).
...
I overlooked this because a SSP kernel booted for me.
Apologises to: ticso
2008-07-22 09:38:12 +00:00
bmah
944512f805
Add a sentence of credits to the KSE removal note.
...
Requested by: brooks
2008-07-22 05:02:46 +00:00
avatar
d4098f774e
Trying to fix compilation bustage:
...
- removing 'const' qualifier from an input parameter to conform to the type
required by rw_assert();
- using in_addr->s_addr to retrive 32 bits address value.
Observed by: tinderbox
2008-07-22 04:23:57 +00:00
attilio
823ce79a5b
- Disallow XFS mounting in write mode. The write support never worked really
...
and there is no need to maintain it.
- Fix vn_get() in order to let it call vget(9) with a valid locking
request. vget(9) returns the vnode locked in order to prevent recycling,
but in this case internal XFS locks alredy prevent it from happening, so
it is safe to drop the vnode lock before to return by vn_get().
- Add a VNASSERT() in vget(9) in order to catch malformed locking requests.
Discussed with: kan, kib
Tested by: Lothar Braun <lothar at lobraun dot de>
2008-07-21 23:01:09 +00:00
thompsa
412a8c5e97
Change the module example to kldload since this is the resume side.
2008-07-21 22:55:40 +00:00
marcel
c1cdcb99f3
Remove sioX as an alias for uartX. It is believed to be
...
more confusing than helpful.
Suggested by: jhb
2008-07-21 22:38:00 +00:00
kmacy
887a78e4a4
make new accessor functions consistent with existing style
2008-07-21 22:11:39 +00:00
jhb
9d2fb35751
Add feature_present(3) to the FBSD 1.1 symbol map.
2008-07-21 22:07:59 +00:00