| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
there is no harm to have it, it will reduce next call efforts.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Resulting fseek() offset must fit in long, required by POSIX (pointed by bde),
so add LONG_MAX and final tests for it.
rewind.c:
1) add missing __sinit() as in fseek() it pretends to be.
2) use clearerr_unlocked() since we already lock stream before _fseeko()
3) don't zero errno at the end, it explicitely required by POSIX as the
only one method to test rewind() error condition.
4) don't clearerr() if error happens in _fseeko()
|
| |
|
|
|
|
|
|
|
| |
Do not detach canceled threads.
Reported by: Arno Klaassen <arno@heho.snv.jussieu.fr>
Collaboration with: deischen
|
|
|
|
|
|
|
|
| |
`getopt(3)' should not print a warning for missing argument values.
PR: bin/29625
Reviewed by: mikeh
MFC after: 1 week
|
|
|
|
| |
Submitted by: ru
|
| |
|
|
|
|
| |
Suggested by: bde
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
"[EINVAL] ... The resulting file-position indicator would be set to a
negative value."
Moreover, in real life negative seek in stdio cause EOF indicator cleared
and not set again forever even if EOF returned.
2) Catch few possible off_t overflows.
Reviewed by: arch discussion
|
|
|
|
| |
Reviewed by: ru
|
|
|
|
| |
Reviewed by: ru
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was foiled because of dynamic copy relocations that caused compile-time
space to be reserved in .bss and at run time a blob of data was copied to
that space and everything used the .bss version.. The problem is that
the space is reserved at compile time, not runtime... So we *still* could
not change the size of FILE. Sigh. :-(
Replace it with something that does actually work and really does let us
make 'FILE' extendable. It also happens to be the same as Linux does in
glibc, but has the slight cost of a pointer. Note that this is the
same cost that 'fp = fopen(), fprintf(fp, ...); fclose(fp);' has.
Fortunately, actual references to stdin/out/err are not all that common
since we have implicit stdin/out/err-using versions of functions
(printf() vs. fprintf()).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
nearly as ominous as it sounds, and it allows OPIE to be used over SSH
and on xterms.
Requested by: ache
Discussed on: -security
|
|
|
|
|
|
|
|
|
| |
is stored in _res_ext.sort_list, and sortlist for IPv4 is stored in
_res.sort_list for backward compatibility. However, both sort_list's
are maintaind by just one index _res.nsort. So, when IPv6 address is
specified to sortlist, empty entry was created in _res.sort_list. It
broke sortlist facility of gethostbyname().
Discussed on users@jp.ipv6.org.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/usr/src/lib/libpam/modules/pam_ssh/pam_ssh.c has couple of bugs which cause:
1) xdm dumps core
2) ssh1 private key is not passed to ssh-agent
3) ssh2 RSA key seems not handled properly (just a guess from source)
4) ssh_get_authentication_connectionen() fails to get connection because of
SSH_AUTH_SOCK not defined.
PR: 29609
Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
|
| |
|
| |
|
|
|
|
|
| |
standards and the option handling. This module is now much more easy
to maintain as a part of the FreeBSD tree.
|
| |
|
|
|
|
| |
logging work the same as other modules.
|
| |
|
| |
|
|
|
|
| |
FreeBSD pam_prompt() usage to simplify conversation function usage.
|
| |
|
|
|
|
|
| |
instead of home-rolling it. Clean up debugging code and tidy the
module.
|
|
|
|
| |
that the correct failure mode is reported.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Verbosely log (properly).
Verbosely report errors to the user.
|
|
|
|
| |
option interacting with each other.
|
|
|
|
|
| |
This is a macro to allow use of the __FILE__ and __FUNCTION__
macros.
|
|
|
|
| |
(usually to stderr) for user-reportable errors.
|
|
|
|
| |
with a trailing zero-width space: `e.g.\&'.
|
|
|
|
| |
Noticed by: bde
|
|
|
|
|
|
|
|
| |
Backout previous revision. We should not expand plain text xrefs if
they appear in the literal text, e.g. in the error or warning message
of the library function. (Submitted by: bde)
Moved "out of memory" from warning to errors section.
|
| |
|
|
|
|
|
|
|
|
| |
permissions.
o Add a reference to intro(2) where it is properly documented.
Reviewed by: bde
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
o Replace strncpy examples with less confusing ones from
OpenBSD. These examples give more detail and also suggest
using strlcpy(3).
Reviewed by: des, ru, sheldonh
Obtained from: OpenBSD
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
times.3: gettimeofday(3) --> gettimeofday(2)
rc.conf.5: isndn(8) --> isdnd(8)
idsnd(8) --> isdnd(8)
MFC after: 2 weeks
|
|
|
|
| |
Reviewed by: ru
|