| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
fix the argument.
In particular, this is a step towards breaking crt1's dependence on stdio.
|
|
|
|
| |
Obtained from: DragonFly
|
|
|
|
| |
in the private area anyway. Nothing in FreeBSD uses it any more anyway.
|
|
|
|
| |
Laughed-at-by: kris
|
|
|
|
| |
Obtained from: Slava Semushin via NetBSD
|
| |
|
|
|
|
|
|
| |
clause.
# If I've done so improperly on a file, please let me know.
|
| |
|
|
|
|
| |
Solaris and Linux.
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
|
|
|
|
|
| |
PR: misc/106234
Submitted by: Guy Harris
MFC after: 1 week
|
|
|
|
| |
PR: docs/82508
|
|
|
|
|
|
|
|
| |
Don't say that "msgsz" can be less than 0, it cannot
as it's unsigned (POSIX has the same bug).
PR: docs/101145 [1]
MFC after: 3 days
|
|
|
|
|
| |
Approved by: rwatson (mentor)
Reviewed by: jmg and marcel
|
|
|
|
|
|
|
|
| |
getobjformat.3: "takes precedence over" is not an envrionment variable.
PR: 75545
Submitted by: n-kogane@syd.odn.ne.jp
MFC after: 3 days
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
|
|
|
|
| |
Submitted by: pgollucci@p6m7g8.com, Mark Costlow
MFC after: 3 weeks
|
| |
|
| |
|
|
|
|
|
| |
that the documented TCB is at the tail of the extended TCB. In other
words, the base of the TCB has a negative offset from the TLS.
|
|
|
|
|
|
| |
PR: docs/101314
Submitted by: Vasil Dimov
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The symptom is that syslog() fails to log anything but the "ident"
string if LOG_PERROR is specified to openlog(3) and the extensible
printf is in action.
For unclear, likely quaint historical reasons, syslog uses fwopen()
on a stack buffer, rather than using the more straightforward
and faster snprintf().
Along the way, fflush(3) is called, and since the callback writer
function returns zero instead of the length "written", __SERR
naturally gets set on the filedescriptor.
The extensible printf, in difference from the normal printf refuses
to output anything to an __SERR marked filedescriptor, and thus
the actual syslog message is supressed.
MFC: after 2 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in rev. 1.34. Mainly I missed the fact that the buffer is used for two
purposes:
1) storing a group line from the group file;
2) __gr_parse_entry() parses the buffer and tries to put the group
members to the remaining part of the buffer and can fail if there
is no enough room for them.
Re-arrange the buffer size checks to account the latter case.
Submitted by: Kirk R Webb
MFC after: 2 weeks
|
|
|
|
|
|
| |
- Remove two unnecessary casts.
These changes would help gcc4 compile.
|
|
|
|
|
|
|
|
|
|
|
| |
If the initial buffer size (1KB) for the given group line is not big
enough, reset the offset. It helps to do not miss this line when
getrg() reallocates the larger buffer and tries to parse the line again.
PR: bin/52433, kern/55031, bin/83696, misc/97640, misc/98111
Submitted by: bsw71@mail.ru, Philip M. Gollucci, Justin Erenkrantz
Glanced at: nectar
MFC after: 1 month
|
|
|
|
| |
Noticed by: rodrigc
|
| |
|
|
|
|
| |
Obtained from: NetBSD (mostly)
|
|
|
|
|
|
| |
# If you bump SHLIB_MAJOR, remove the kluge from gen/gethostname.c.
Reviewed by: ume
|
|
|
|
| |
may change errno unexpectly.
|
|
|
|
|
|
|
|
| |
databases.
- Make nsswitch support caching.
Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Sponsored by: Google Summer of Code 2005
|
|
|
|
|
|
| |
PR: docs/95059
Submitted by: Jos Backus
MFC after: 4 days
|
|
|
|
|
|
| |
PR: 95546
Submitted by: Jan Schaumann <jschauma@netmeister.org>
MFC after: 3 days
|
|
|
|
| |
its pointer from begin, and simplifies _get_curthread() in libthr.
|
|
|
|
| |
spinlock stub.
|
| |
|
|
|
|
| |
Reviewed by: davidxu
|
|
|
|
|
|
|
| |
The thread jump table has been resorted, so you need to
keep libc, libpthread, and libthr in sync.
Submitted by: xu
|
| |
|
| |
|
|
|
|
|
|
| |
the alignment of malloc()ed memory.
Approved by: markm (mentor)
|
|
|
|
|
|
|
|
|
| |
to be compatible with symbol versioning support as implemented by
GNU libc and documented by http://people.redhat.com/~drepper/symbol-versioning
and LSB 3.0.
Implement dlvsym() function to allow lookups for a specific version of
a given symbol.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
means:
o Remove Elf64_Quarter,
o Redefine Elf64_Half to be 16-bit,
o Redefine Elf64_Word to be 32-bit,
o Add Elf64_Xword and Elf64_Sxword for 64-bit entities,
o Use Elf_Size in MI code to abstract the difference between
Elf32_Word and Elf64_Word.
o Add Elf_Ssize as the signed counterpart of Elf_Size.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch strncpy to strlcpy suggested by gad and issue found by pjd.
Add to uname(3) man page describing:
UNAME_s
UNAME_r
UNAME_v
UNAME_m
Add to getosreldate(3) man page describing:
OSVERSION
Submitted by: ru, pjd/gad
Reviewed by: ru (man pages)
|
|
|
|
|
|
| |
before commit.
pointyhat++
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD machine. To do this add the man 1 uname changes to __xuname.c
so we can override the settings it reports. Add OSVERSION override
to getosreldate. Finally which Makefile.inc1 to use uname -m instead
of sysctl -n hw.machine_arch to get the arch. type.
With these change you can put a complete FreeBSD OS image into a
chroot set:
UNAME_s=FreeBSD
UNAME_r=4.7-RELEASE
UNAME_v="FreeBSD $UNAME_r #1: Fri Jul 22 20:32:52 PDT 2005 fake@fake:/usr/obj/usr/src/sys/FAKE"
UNAME_m=i386
UNAME_p=i386
OSVERSION=470000
on an amd64 or i386 and it just work including building ports and using
pkg_add -r etc. The caveat for this example is that these patches
have to be applied to FreeBSD 4.7 and the uname(1) changes need to
be merged. This also addresses issue with libtool.
This is usefull for when a build machine has been trashed for an
old release and we want to do a build on a new machine that FreeBSD
4.7 won't run on ...
|