| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Noticed by: ru
|
| |
|
|
|
|
| |
"initialization process".
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sigdelset(3) and sigismember(3) were killed about five years ago.
o The functions (specifically sigismember(3)) could return -1 and
set errno.
PR: bin/75156
Obtained from: NetBSD
MFC after: 2 weeks
o Bump the date of the document.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
http://www.opengroup.org/onlinepubs/009695399/functions/swab.html
the prototype for swab() should be in <unistd.h> and not in <string.h>.
Move it, and update to match SUS. Leave the prototype in string.h for
now, for backwards compat.
PR: 74751
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
Discussed with: das
|
|
|
|
|
|
| |
Use fp_rnd_t, not fp_rnd.
Reported by: Jia-Shiun Li (jiashiun at gmail dot com)
|
|
|
|
| |
Submitted by: tegge
|
|
|
|
|
|
|
| |
initialized "by a call to getcontext(3) or makecontext(3)" and not "by a
call to setcontext(3) or makecontext(3)".
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
operation (by subtracting the absolute result from 0), don't test
for overflow.
This avoids an arithmetic exception when dividing LONG_MIN by 1:
This is the only case that causes overflow, and the resulting value
is correct under 2's compliment arithmetic.
PR: 72024
Approved by: dwmalone@
Obtained from: NetBSD
MFC after: 4 days
|
|
|
|
|
|
|
|
|
|
| |
reading past 'stop' in various places when converting multibyte characters.
Reading too far caused truncation to not be detected when it should have
been, eventually causing regexec() to loop infinitely in with certain
combinations of patterns and strings in multibyte locales.
PR: 74020
MFC after: 4 weeks
|
|
|
|
|
|
|
| |
This is now a native system call.
Reviewed by: imp, phk, njl, peter
Approved by: njl
|
|
|
|
|
|
|
|
|
| |
is supported.
-Document the new more preferred syntax
-Add examples for the new syntax
-Add a note that the old syntax will be deprecated in the future.
Reviewed by: rwatson
|
| |
|
|
|
|
|
| |
Note to mdoc(7) police:
The document date has already been touched today.
|
| |
|
| |
|
|
|
|
| |
use .Va instead of .Li for struct stat fields.
|
|
|
|
| |
Bump the document date accordingly.
|
|
|
|
|
|
|
|
|
|
|
| |
If turned on no NIS support and related programs will be built.
Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il>
PR: bin/68303
No objections: des, gshapiro, nectar
Reviewed by: ru
Approved by: rwatson (mentor)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
seed, the random number generator rand(3) still sucks and is unlikely
sufficient for crypto use. Correct what appears to be a cut and paste
error from the srandomdev() man page.
Submitted by: Ben Mesander
|
|
|
|
|
| |
For setjmp() and longjmp(), put the signal mask where it's supposed to be,
instead of in the space reserved for fp regs.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
can't use the i386_set_ldt() family of routines, because they are not
implemented. Instead, use the recently exposed direct access sysarch
routines for setting what %fs and %gs point to.
Use this for the i386 TLS _set_tp() routine, but only when compiling to
run as a 32 bit support binary for amd64 kernels.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
syslog(3) if we are a priveleged program (sshd, su, etc.).
- Make syslogd open an additional socket /var/run/logpriv, with 0600
permissions.
- In libc, try to use this socket.
- Do not loop forever if we are using this socket (partial backout of 1.31)
Reviewed by: dwmalone, Andrea Campi <andrea webcom it>
Approved by: julian (mentor)
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
| |
_(use space as padding), and 0(zero padding).
These GNU extensions are widely used ones that is worthy for us to
have.
Discussed with: stefanf, roam, -current
Approved by: murray
Prodded by: ports/72722, ports/72723
MFC After: 1 month
|
|
|
|
|
|
| |
This causes nasty things like SEGV or a cpu spin when we return.
Submitted by: "James R. Van Artsalen" <james@jrv.org>
|
|
|
|
|
| |
PR: docs/73193
Submitted by: Jilles Tjoelker <jilles at stack.nl>
|
|
|
|
| |
Discussed with: bde
|
|
|
|
| |
any fake value.
|
| |
|
|
|
|
|
|
|
| |
which have no negative offsets, "negative" and
"invalid" are equivalent WRT the offset argument.
Suggested by: bde
|
| |
|
|
|
|
| |
when transfering rights (file descriptors.)
|
| |
|
| |
|
| |
|
|
|
|
| |
conversion specifiers (a, A, e, E, f, F, g and G).
|
|
|
|
|
|
|
| |
Now readers won't get an impression that pointing to beyond
the current end of file will result in EINVAL.
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
| |
to sendfile(2) falls beyond the end of file.
Touch .Dd.
PR: bin/72649 (in the audit trail)
MFC after: 1 week
|
|
|
|
| |
Bug submitted by: Andrea Campi <andrea+freebsd_current@webcom.it>
|
|
|
|
|
|
| |
+ spell LIBC_SCCS consistently
+ enable builds with LIBC_SCCS defined to not syntax error
+ minor SCM reformatting to try to have some consistency
|
|
|
|
| |
Noticed by: Andrea Campi
|