| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
It seems I made a small bug when writing some of the posix_spawn(3)
manpages. Remove the redundant "Ed Schouten", which broke the AUTHORS
section.
Approved by: philip (mentor, implicit)
Notes:
svn path=/head/; revision=180876
|
| |
|
|
|
|
|
| |
PR: standards/122051
Notes:
svn path=/head/; revision=180867
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"If you don't get a review within a day or two, I would firmly recommend
backing out the changes"
back out all my changes, i.e. not comes from merging from OpenBSD as
unreviewed by secteam@ yet.
(OpenBSD changes stays in assumption they are reviewd by OpenBSD)
Yes, it means some old bugs returned, like not setted rs_stired = 1 in
arc4random_stir(3) causing double stirring.
Notes:
svn path=/head/; revision=180804
|
| |
|
|
|
|
|
| |
Submitted by: Kostik Belousov
Notes:
svn path=/head/; revision=180792
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=180713
|
| |
|
|
|
|
|
|
| |
XXX Deprecated
alias in /sys/dev/random/randomdev.c
Notes:
svn path=/head/; revision=180700
|
| |
|
|
| |
Notes:
svn path=/head/; revision=180696
|
| |
|
|
|
|
|
| |
return just (arc4random() % upper_bound)
Notes:
svn path=/head/; revision=180690
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=180688
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=180687
|
| |
|
|
| |
Notes:
svn path=/head/; revision=180677
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2) Use gettimeofday() and getpid() only if reading from /dev/urandom
fails or impossible.
3) Discard N bytes on very first initialization only (i.e. don't
discard on re-stir).
4) Reduce N from 1024 to 512 as really suggested in the
"(Not So) Random Shuffles of RC4" paper:
http://research.microsoft.com/users/mironov/papers/rc4full.pdf
Notes:
svn path=/head/; revision=180676
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2) Eliminate "struct arc4_stream *as" arg since only single arg is
possible.
3) Set rs.j = rs.i after arc4random key schedule to be more like arc4
stream cipher.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=180672
|
| |
|
|
| |
Notes:
svn path=/head/; revision=180665
|
| |
|
|
| |
Notes:
svn path=/head/; revision=180659
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=180657
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=180656
|
| |
|
|
|
|
|
|
|
|
| |
2) Increase arc4_count to the limit OpenBSD use.
Submitted by: Thorsten Glaser <tg@mirbsd.de> (1)
Obtained from: OpenBSD (2)
Notes:
svn path=/head/; revision=180655
|
| |
|
|
|
|
|
|
|
|
| |
the chunk map instead of red-black trees where possible. Remove the
red-black trees and node objects that are obsoleted by this change. The
net result is a ~1-2% memory savings, and a substantial allocation speed
improvement.
Notes:
svn path=/head/; revision=180599
|
| |
|
|
|
|
|
|
|
|
| |
handlers added with signal(3).
Submitted by: gnn (slightly modified by me)
MFC after: 1 week
Notes:
svn path=/head/; revision=180578
|
| |
|
|
|
|
|
| |
PR: docs/125630
Notes:
svn path=/head/; revision=180534
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This change removes the requirement that an ACL contain no ACL_USER
entries with a uid the same as those of a file, or ACL_GROUP entries
with a gid the same as those of a file. This requirement is not in the
specification, and not enforced by the kernel's ACL implementation.
Reported by: Iustin Pop <iusty at k1024 dot org>
MFC after: 1 week
Notes:
svn path=/head/; revision=180493
|
| |
|
|
|
|
|
|
|
| |
PR: 125546
Submitted by: Mateusz Guzik <mjguzik at gmail dot com>
MFC after: 3 days
Notes:
svn path=/head/; revision=180491
|
| |
|
|
|
|
|
| |
nonexistant __cpuset* there.
Notes:
svn path=/head/; revision=180448
|
| |
|
|
|
|
|
|
|
|
|
|
| |
statement. Add the one from the current NetBSD version.
- Also bump a date to reflect my content changes I have done in previous
revision
Approved by: imp
MFC after: 3 days
Notes:
svn path=/head/; revision=180329
|
| |
|
|
|
|
|
|
|
| |
PR: docs/75995
Submitted by: Tarc <tarc@po.cs.msu.su>
MFC after: 3 days
Notes:
svn path=/head/; revision=180325
|
| |
|
|
|
|
|
|
|
| |
- remove contractions
MFC after: 3 days
Notes:
svn path=/head/; revision=180323
|
| |
|
|
|
|
|
|
| |
PR: docs/120248
Submitted by: Heiko Wundram <wundram (a) beenic.net>
Notes:
svn path=/head/; revision=180162
|
| |
|
|
| |
Notes:
svn path=/head/; revision=180113
|
| |
|
|
| |
Notes:
svn path=/head/; revision=180107
|
| |
|
|
|
|
|
| |
bit by removing some calls to the inline function addtype().
Notes:
svn path=/head/; revision=180106
|
| |
|
|
|
|
|
|
|
| |
normal and wide character versions of it.
No functional change.
Notes:
svn path=/head/; revision=180105
|
| |
|
|
|
|
|
|
|
| |
by moving the positional argument handling code to a new file,
printf-pos.c, and moving common definitions to printflocal.h.
No functional change intended.
Notes:
svn path=/head/; revision=180104
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In particular, encapsulate the state of the type table in a struct,
and add inline functions to initialize, free, and manipulate that
state. This replaces some ugly macros that made proper error handling
impossible.
While here, remove an unneeded test for NULL and a variable that is
initialized (many times!) but never used. The compiler didn't catch
these because of rampant use of the same variable to mean different
things in different places.
This commit should not cause any changes in functionality.
Notes:
svn path=/head/; revision=180102
|
| |
|
|
|
|
|
|
|
| |
SIGPIPE for individual sockets (PR: kern/118626).
While here, s/insure/ensure/.
Notes:
svn path=/head/; revision=180097
|
| |
|
|
|
|
|
| |
whether the CPU supports SSE or not here is rather odious.
Notes:
svn path=/head/; revision=180081
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Save and restore the control part of the MXCSR in addition to the
i387 control word to ensure that the two are consistent.
Note that standards don't require longjmp to restore either control
word, and none of Linux, MacOS X 10.3 and earlier, NetBSD, OpenBSD,
or Solaris do it. However, it is historical FreeBSD behavior, and
bde points out that it is needed to make longjmping out of a signal
handler work properly, given the way FreeBSD clobbers the FPU state
on signal handler entry.
2. Don't clobber the FPU exception flags in longjmp. C99 requires them
to remain unchanged.
Notes:
svn path=/head/; revision=180080
|
| |
|
|
|
|
|
|
| |
PR: docs/123019
MFC after: 3 days
Notes:
svn path=/head/; revision=180030
|
| |
|
|
|
|
|
|
| |
PR: docs/122818
MFC after: 3 days
Notes:
svn path=/head/; revision=180024
|
| |
|
|
|
|
|
|
|
|
| |
and return (const Char *) pointers instead of just (Char *) and get rid of
all the type casting.
PR: kern/124334
Notes:
svn path=/head/; revision=180021
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- It is opt-out for now so as to give it maximum testing, but it may be
turned opt-in for stable branches depending on the consensus. You
can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
It is harmless to steal the knob as SSP symbols have been provided
by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
(sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
libc will be automatically downgraded to -fstack-protector because it
breaks rtld otherwise.
- This option is unavailable on ia64.
Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.
Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
Notes:
svn path=/head/; revision=180012
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding exevpe() has caused some ports to break. Even though execvpe() is
a useful routine, it does not conform to any standards.
This patch is a little bit different from the patch sent to the mailing
list. I forgot to remove execvpe from the Symbol.map (which does not
seem to miscompile libc, though).
Reviewed by: davidxu
Approved by: philip
Notes:
svn path=/head/; revision=179947
|
| |
|
|
| |
Notes:
svn path=/head/; revision=179892
|
| |
|
|
| |
Notes:
svn path=/head/; revision=179866
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The __use_pts() routine was once probably used by libutil to determine
if we are using BSD or UNIX98 style PTY device names. It doesn't seem to
be used outside grantpt.c, which means we can make it static and remove
it from the Symbol.map.
Reviewed by: cognet, kib
Approved by: philip (mentor)
Notes:
svn path=/head/; revision=179846
|
| |
|
|
| |
Notes:
svn path=/head/; revision=179841
|
| |
|
|
|
|
|
| |
Approved by: philip (mentor, implicit), davidxu
Notes:
svn path=/head/; revision=179840
|
| |
|
|
|
|
|
|
|
|
|
|
| |
can be used as replacements for exec/fork in a lot of cases. This
change also added execvpe() which allows environment variable
PATH to be used for searching executable file, it is used for
implementing posix_spawnp().
PR: standards/122051
Notes:
svn path=/head/; revision=179838
|
| |
|
|
|
|
|
| |
increase group membership.
Notes:
svn path=/head/; revision=179823
|
| |
|
|
|
|
|
|
|
|
|
| |
SO_LISTENQLEN SO_LISTENINCQLEN to the manual page.
Till now those were only present in sys/socket.h file.
Reviewed by: rwatson, gnn, keramida (with mdoc hat)
Notes:
svn path=/head/; revision=179768
|