Commit Graph

210930 Commits

Author SHA1 Message Date
joerg
615642201d Drop obsolete pthread restriction. 2012-05-04 12:28:03 +00:00
joerg
8050d45d71 Simplify check for TLS definition to not hide code. Drop it in another
place as it is redundant.
2012-05-04 12:26:33 +00:00
christos
73e25da1dd - match regular ioctl prototype (3rd argument is optional)
- fix lint issues
2012-05-04 11:48:12 +00:00
christos
b01ba4dca4 depend on "vcoda" since it has symbols we need. 2012-05-04 02:06:27 +00:00
christos
b6690e266f fix locking in getpages when running executables. 2012-05-04 01:40:13 +00:00
christos
89fb5ce609 remove variable names from prototypes. 2012-05-04 01:38:56 +00:00
bsh
5a5aba4464 use uint64_t for sc_disksize512.
fixed the problem with ataraid volumes larger than 2 TiB.
2012-05-03 21:21:08 +00:00
mishka
89872c6470 Drop extra ")" symbol near "OpenSSH". 2012-05-03 19:07:13 +00:00
christos
b43ddeabe0 move the assert after the locked case. 2012-05-03 14:26:42 +00:00
rmind
b10bf4690c Revert posix_spawn() clean up for now, there are some bugs. 2012-05-02 23:33:11 +00:00
wiz
d4a2bd08b2 Remove trailing whitespace. 2012-05-02 22:38:31 +00:00
rmind
d9290bb010 do_open: move pathbuf destruction to the callers, thus simplify and fix a
memory leak on error path.
2012-05-02 20:48:29 +00:00
christos
e4d18b9bd2 Instead of sharing the coda vnode lock with the ffs vnode lock, share the
ffs vnode lock with coda.
2012-05-02 16:51:01 +00:00
gendalia
7591311640 Add the ability for staticroute to evaluate lines from /etc/route.conf
as shell script fragments, add example to the route.conf man page of
evaluating variables.

Remove route.conf man page statement that staticroute is enabled in
rc.conf since that's incorrect.

Wrap the staticroute while in parens, per <apb> & <christos>, and
quote all the arguments for the evals.
2012-05-02 15:57:15 +00:00
jakllsch
ccce006c72 Bump date to date of previous change. 2012-05-02 15:42:58 +00:00
christos
7d659a9119 make this compile again. 2012-05-02 14:54:26 +00:00
christos
b7d2912934 test for both NUL and _POSIX_VDISABLE, because _POSIX_VDISABLE propagation
between different daemons and OS's does not seem reliable.
2012-05-02 14:36:07 +00:00
cheusov
8e6f0d9ebd Add .include <bsd.sys.mk> for initializing USE_SSP.
This fixes build failure if USE_FORT=YES
   Approved by christos@
2012-05-02 13:35:03 +00:00
agc
1a27c54f9a re-work the previous to make it format correctly 2012-05-02 04:23:09 +00:00
christos
247db26913 mention openssh 6.0 2012-05-02 02:44:20 +00:00
christos
bd00465ee0 bump libssh 2012-05-02 02:43:00 +00:00
christos
845f0e2763 bump 2012-05-02 02:41:13 +00:00
christos
091c4109a8 merge OpenSSH 6.0
Features:

 * ssh-keygen(1): Add optional checkpoints for moduli screening
 * ssh-add(1): new -k option to load plain keys (skipping certificates)
 * sshd(8): Add wildcard support to PermitOpen, allowing things like
   "PermitOpen localhost:*".  bz #1857
 * ssh(1): support for cancelling local and remote port forwards via the
   multiplex socket. Use ssh -O cancel -L xx:xx:xx -R yy:yy:yy user@host"
   to request the cancellation of the specified forwardings
 * support cancellation of local/dynamic forwardings from ~C commandline

Bugfixes:

 * ssh(1): ensure that $DISPLAY contains only valid characters before
   using it to extract xauth data so that it can't be used to play local
   shell metacharacter games.
 * ssh(1): unbreak remote portforwarding with dynamic allocated listen ports
 * scp(1): uppress adding '--' to remote commandlines when the first
   argument does not start with '-'. saves breakage on some
   difficult-to-upgrade embedded/router platforms
 * ssh(1)/sshd(8): fix typo in IPQoS parsing: there is no "AF14" class,
   but there is an "AF21" class
 * ssh(1)/sshd(8): do not permit SSH2_MSG_SERVICE_REQUEST/ACCEPT during
   rekeying
 * ssh(1): skip attempting to create ~/.ssh when -F is passed
 * sshd(8): unbreak stdio forwarding when ControlPersist is in use; bz#1943
 * sshd(1): send tty break to pty master instead of (probably already
   closed) slave side; bz#1859
 * sftp(1): silence error spam for "ls */foo" in directory with files;
   bz#1683
 * Fixed a number of memory and file descriptor leaks
2012-05-02 02:41:08 +00:00
macallan
1da85cff6f remove some commented out / unused junk 2012-05-02 00:55:26 +00:00
riz
89f7ad6034 Check for del_rc_conf() == 0, not !del_rc_conf(), and fix a couple of
instances where the check was wrong.  sysinst now properly saves dhcp
and host config again.
2012-05-01 18:28:47 +00:00
agc
142f8d12eb document the correct argument to wstandout(3) and wstandend(3) 2012-05-01 17:32:58 +00:00
martin
fe585d0294 Explicitly include <sys/kmem.h> 2012-05-01 15:09:36 +00:00
martin
1519b75992 On unaligned access, provide the data address to the signal handler, instead
of the faulting instructions address.
2012-05-01 09:40:15 +00:00
manu
7f8940a8ce Return ENODATA when no attribute is found, like Linux does. After
all we decided to adopt the Linux API, therefore there is rationale
to stick to it.

No standard tells us what to do, and our extended attribute API has not
been used in a release, therefore we do not break anything, and we get
more easily compatible with programs using the Linux extended attribute
API.

Note that FreeBSD and MacOS X return ENOATTR. FreeBSD has its own API
and MacOS X has a Linux-like API. How did the world get so complicated?
2012-05-01 07:48:25 +00:00
macallan
c4ff263d05 add license header 2012-05-01 07:46:47 +00:00
rmind
f1d428af19 - Replace some malloc(9) uses with kmem(9).
- G/C M_IPMOPTS, M_IPMADDR and M_BWMETER.
2012-04-30 22:51:27 +00:00
rmind
0c217aec3a posix_spawn:
- Remove copy-pasting in error paths, use execve_free_{vmspace,data}().
- Move some code (both in the init and exit paths) out of the locks.
- Slightly simplify do_posix_spawn() callers.
- Add few asserts and comments.
2012-04-30 21:19:58 +00:00
pgoyette
a61ffc9868 Fix a (obvious) typo 2012-04-30 20:41:33 +00:00
riz
4ca684e9f6 Don't have pkgin prompt before updating the database. 2012-04-30 19:57:52 +00:00
martin
0aeedd76fe Add missing white spaces at end of line (meaning forced line breaks) 2012-04-30 19:49:26 +00:00
martin
23b152e8d9 Translate enable_binpkg 2012-04-30 19:43:45 +00:00
riz
29b07b45cc Check if the network is up before attempting to install pkgin. If not,
configure it.
2012-04-30 19:05:29 +00:00
christos
748ee23b9d kern/46391: Nat Sloss: ums.c doesn't support digitizers or touchscreens 2012-04-30 17:27:50 +00:00
njoly
ef99a623d5 Move module related debug entries to module.mi list to fix MKDEBUG=yes
and MKKMOD=no builds. Add missing k_helper3.debug line.
2012-04-30 13:47:51 +00:00
njoly
c865ac5294 Adjust xref for capability database file format. 2012-04-30 11:07:28 +00:00
manu
8658637414 Fix the extattr start fix. Looking up the filesystemroot vnode again
does not seems to be reliable. Instead save it before mount_domount()
sets it to NULL.
2012-04-30 10:05:12 +00:00
manu
74a73d8b5c Fix mount -o extattr : previous patch fixed a panic but caused operation
to happen on the mount point instead of the mounted filesystem.
2012-04-30 03:51:10 +00:00
mrg
1ed31fd325 ensure that the intr lock is held for all audio_clear() callers. 2012-04-30 02:16:46 +00:00
christos
75e68013dd PR/41267: Andrius V: 5.0 RC4 does not detect second CPU in VIA. VIA Eden cpuid
lies about it's ability to do cmpxchg8b. Turn the feature on using the FCR MSR.
Needs pullup to both 5 and 6.
2012-04-30 00:08:03 +00:00
christos
50ec6de2fb Add VIA Eden FCR MSR. 2012-04-30 00:04:31 +00:00
christos
5942983d76 set close on exec for all opened files. 2012-04-29 23:50:22 +00:00
chs
67b37d586b mark all wapbl I/O as BPRIO_TIMECRITICAL.
this is the second part of addressing PR 46325.
2012-04-29 22:55:11 +00:00
chs
8306a9eddf change vflushbuf() to take the full FSYNC_* flags.
translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that
genfs_do_io() can set the appropriate io priority for the I/O.
this is the first part of addressing PR 46325.
2012-04-29 22:53:59 +00:00
christos
66d7693e75 tidy up... 2012-04-29 21:54:51 +00:00
dsl
ef15904712 Patch out the 'struct malloc_type' from the isa_dma alloc routines.
All the i386 kernels now build
2012-04-29 21:13:56 +00:00