| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Tested by: glebius
Notes:
svn path=/head/; revision=199992
|
|
|
|
|
|
|
|
|
| |
PR: 141037
Submitted by: Jeremy Huddleston <jeremyhu@apple.com>
MFC after: 3 days
Notes:
svn path=/head/; revision=199988
|
|
|
|
|
|
|
| |
modified so that it will abort when the environment is bad.
Notes:
svn path=/head/; revision=199987
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
copied from NetBSD's manpage, and it also matches the behavior
described by the Open Group's online copy of setpgid.2 at
http://www.opengroup.org/onlinepubs/009695399/functions/setpgid.html
Obtained from: NetBSD
Submitted by: Petros Barbayiannis <petrosbarbayiannis@yahoo.gr>
MFC after: 1 week
Notes:
svn path=/head/; revision=199985
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
**environ entries. This puts non-getenv(3) operations in line with
getenv(3) in that bad environ entries do not cause all operations to
fail. There is still some inconsistency in that getenv(3) in the
absence of any environment-modifying operation does not emit corrupt
environ entry warnings.
I also fixed another inconsistency in getenv(3) where updating the
global environ pointer would not be reflected in the return values.
It would have taken an intermediary setenv(3)/putenv(3)/unsetenv(3)
in order to see the change.
Notes:
svn path=/head/; revision=199983
|
|
|
|
|
|
|
|
| |
Security: Advisory will be coming soon.
X-MFC-After: 30 seconds
Notes:
svn path=/head/; revision=199979
|
|
|
|
|
|
|
|
|
|
| |
used by if_timer is reserved for expanding if_index to an int in the
future.
Reviewed by: rwatson, brooks
Notes:
svn path=/head/; revision=199975
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
config(8) doesn't parse parantheses and instead treated them as being
part of the device driver name (e.g. '(u3g' vs 'u3g'). While here, fix the
style of these long lines to match the wrapping used for other long lines
in this file.
Submitted by: Brett Glass
MFC after: 1 week
Notes:
svn path=/head/; revision=199974
|
|
|
|
| |
Notes:
svn path=/head/; revision=199972
|
|
|
|
|
|
|
| |
Submitted by: Phil Longstaff
Notes:
svn path=/head/; revision=199970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The hardware is compliant with WDRT specification, so I originally
considered including generic WDRT watchdog support, but decided
against it, because I couldn't find anyone to the code for me.
WDRT seems to be not very popular.
Besides, generic WDRT porbably requires a slightly different driver
approach.
Reviewed by: des, gavin, rpaulo
MFC after: 3 weeks
Notes:
svn path=/head/; revision=199969
|
|
|
|
|
|
|
|
| |
The check is glimpsed from Linux and OpenSolaris.
MOVBE instruction is found in Intel Atom processors.
Notes:
svn path=/head/; revision=199968
|
|
|
|
| |
Notes:
svn path=/head/; revision=199960
|
|
|
|
|
|
|
|
|
| |
was ported
to FreeBSD
Notes:
svn path=/head/; revision=199959
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
related to DNSSEC validation on a resolving name server that allows
access to untrusted users. If your system does not fall into all 3 of
these categories you do not need to update immediately.
Notes:
svn path=/head/; revision=199958
|
| |
| |
| |
| |
| | |
Notes:
svn path=/vendor/bind9/dist/; revision=199956
svn path=/vendor/bind9/9.6.1-P2/; revision=199957; tag=vendor/bind9/9.6.1-P2
|
| |
| |
| |
| |
| |
| |
| |
| | |
Job control tty manipulations sometimes cause the tests to stop (SIGTTOU
and the like) when run from the 'prove' tool.
Notes:
svn path=/head/; revision=199955
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Redirecting fds that were not open before kept two copies of the
redirected file.
sh -c '{ :; } 7>/dev/null; fstat -p $$; true'
(both fd 7 and 10 remained open)
- File descriptors used to restore things after redirection were not
set close-on-exec, instead they were explicitly closed before executing
a program normally and before executing a shell procedure. The latter
must remain but the former is replaced by close-on-exec.
sh -c 'exec 7</; { exec fstat -p $$; } 7>/dev/null; true'
(fd 10 remained open)
The examples above are simpler than the testsuite because I do not want to
use fstat or procstat in the testsuite.
Notes:
svn path=/head/; revision=199953
|
| |
| |
| |
| |
| |
| |
| |
| | |
Reported by: gabor
MFC after: 5 days
Notes:
svn path=/head/; revision=199950
|
| |
| |
| |
| |
| |
| |
| | |
have trackpads that do not work at all without this driver.
Notes:
svn path=/head/; revision=199949
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
baseline subtraction, and are very temperature sensitive, so would slowly
drift out of a calibrated state when under load. Escape this by taking
the last frame before we decide that the pad is idle as a finger-free
baseline.
Tested on: iBook G4
Notes:
svn path=/head/; revision=199948
|
| |
| |
| |
| |
| |
| |
| |
| | |
PR: kern/123587
MFC after: 5 days
Notes:
svn path=/head/; revision=199947
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Try to version the struct in a backward compatible way.
People asked for the versioning of the stats structs in general before.
MFC after: 5 days
Notes:
svn path=/head/; revision=199946
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
make them conditional upon _KERNEL. libkvm includes <sys/pcpu.h>
and <sys/sysctl.h> does not expose the structure definitions to
userland.
Notes:
svn path=/head/; revision=199941
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the compression was useless as well. Make sure to not update the data
and return, else we would waste resources when decompressing.
This also avoids the copyback() changing data other consumers like
xform_ipcomp.c would have ignored because of no win and sent out without
noting that compression was used, resulting in invalid packets at the
receiver.
MFC after: 5 days
Notes:
svn path=/head/; revision=199906
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(no real functional change).
MFC after: 5 days
Notes:
svn path=/head/; revision=199905
|
| |
| |
| |
| |
| |
| |
| | |
MFC after: 5 days
Notes:
svn path=/head/; revision=199904
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
payload size. Before we had always added the header, no matter if we
actually send out compressed data or not.
With this, after the opencrypto/deflate changes, IPcomp starts to work
apart from edge cases. Leave it disabled by default until those are
fixed as well.
PR: kern/123587
MFC after: 5 days
Notes:
svn path=/head/; revision=199899
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The <sys/termios.h> header file is hardlinked to <termios.h>. It
contains both the structures and the flag definitions, but also the C
library interface that's implemented by the C library.
This header file has the typical problem of including too many random
things and being badly ordered. Instead of trying to fix this, decompose
it into two header files:
- <sys/_termios.h>, which contains struct termios and the flags.
- <termios.h>, which includes <sys/_termios.h> and contains the C
library interface.
This means userspace has to include <termios.h> for struct termios,
while kernelspace code has to include <sys/tty.h>. Also add a
<sys/termios.h>, which prints a warning message before including
<termios.h>. I am aware that there are some applications that use this
header file as well.
Notes:
svn path=/head/; revision=199898
|
| |
| |
| |
| |
| |
| |
| | |
MFC after: 6 days
Notes:
svn path=/head/; revision=199897
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the compression algorithm threshold.
MFC after: 6 days
Notes:
svn path=/head/; revision=199896
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is needed to avoid running into out of buffer situations
where we cannot alloc a new buffer because we hit the array size
limit (ZBUF).
Use a combined allocation for the struct and the actual data buffer
to not increase the number of malloc calls. [1]
Defer initialization of zbuf until we actually need it.
Make sure the output buffer will be large enough in all cases.
Details discussed with: kib [1]
Reviewed by: kib [1]
MFC after: 6 days
Notes:
svn path=/head/; revision=199895
|
| |
| |
| |
| |
| |
| |
| | |
MFC after: 6 days
Notes:
svn path=/head/; revision=199894
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
adding statistics counters to the PCPU structure. Export the counters
through sysctl by giving each PCPU structure its own sysctl context.
While here, fix cnt.v_intr by not just having it count clock interrupts,
but every interrupt and add more counters for each interrupt source.
Notes:
svn path=/head/; revision=199893
|
| |
| |
| |
| |
| |
| |
| |
| | |
Submitted by: Andreas Tobler <andreast-list at fgznet dot ch>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=199888
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
replacement but only use it for inflate. For deflate use Z_FINISH
as Z_SYNC_FLUSH adds a trailing marker in some cases that inflate(),
despite the comment in zlib, does npt seem to cope well with, resulting
in errors when uncompressing exactly fills the outbut buffer without
a Z_STREAM_END and a successive call returns an error.
MFC after: 6 days
Notes:
svn path=/head/; revision=199887
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
more. This provides three new sysctls to user space:
hw.cpu_features - A bitmask of available CPU features
hw.floatingpoint - Whether or not there is hardware FP support
hw.altivec - Whether or not Altivec is available
PR: powerpc/139154
MFC after: 10 days
Notes:
svn path=/head/; revision=199886
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
They are not nice but they were helpful.
MFC after: 6 days
Notes:
svn path=/head/; revision=199885
|
| |
| |
| |
| |
| |
| |
| | |
MFC after: 6 days
Notes:
svn path=/head/; revision=199884
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
avoid having to add all the unused trailing arguments as zeros.
MFC after: 6 days
Notes:
svn path=/head/; revision=199883
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Right now <sys/termios.h> includes <sys/ttycom.h>, which provides the
TTY ioctls to the svr4 code. We need both struct termios and the ioctls,
so include <sys/tty.h> for now.
Notes:
svn path=/head/; revision=199882
|
| |
| |
| |
| |
| |
| |
| | |
I want to prevent the header polution of <sys/termios.h> eventually.
Notes:
svn path=/head/; revision=199881
|
| |
| |
| |
| |
| |
| |
| | |
libthr, but forgot to link main binary with it.
Notes:
svn path=/head/; revision=199878
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
dso linked to non-openable object.
Remove '\n' at the end of error message.
End comments with dot.
MFC after: 3 weeks (together with r199829)
Notes:
svn path=/head/; revision=199877
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=199876
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
for specific "kinds" of disk labels - for example, GPT UUIDs. Reason
for this is that sometimes, other GEOM classes attach to these device
nodes instead of the proper ones - e.g. they attach to /dev/gptid/XXX
instead of /dev/ada0p2, which is annoying.
Reviewed by: pjd (earlier version)
MFC after: 1 month
Notes:
svn path=/head/; revision=199875
|
| |
| |
| |
| |
| |
| |
| | |
<sys/termios.h> only works on FreeBSD by accident.
Notes:
svn path=/head/; revision=199874
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR: docs/140940
Submitted by: Bruce Cran <bruce@cran.org.uk>
MFC after: 1 week
Notes:
svn path=/head/; revision=199873
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=199872
|
| |
| |
| |
| |
| |
| |
| |
| | |
PR: docs/140962
Submitted by: mharo
Notes:
svn path=/head/; revision=199871
|