| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Like on libthr, there is an i386_set_gsbase() stub implementation here
to avoid libc.so.5 issues. This should likely be a weak symbol and I
expect this will be fixed soon.
Approved by: re
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
|
|
|
| |
method of executing commands remotely. There are no rexec clients in
the FreeBSD tree, and the client function rexec(3) is present only in
libcompat. It has been documented as "obsolete" since 4.3BSD, and its
use has been discouraged in the man page for over 10 years.
|
|
|
|
| |
Discussed with: ru
|
|
|
|
|
|
|
| |
Fix an obvious bug in the 64-bit PLT fixup: the SLLX was by 12 bits, when
it should be 32.
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
| |
loads and stores (resp.) The ldq_u and stq_u instruction mask off the
lower 3 bits of the final address before loading from or storing to
the address, so as to avoid unaligned loads and stores. They do not
themselves allow loads from or stores to unaligned addresses. Replace
the macro definitions by a packed struct dereference.
Submitted by: Richard Henderson (rth at twiddle dot net)
|
|
|
|
|
|
| |
PR: misc/81732
Submitted by: Denis Grudkin
MFC after: 2 weeks
|
|
|
|
|
|
| |
thus being compatible with both XFree86 and X.org.
Noticed by: danfe
|
|
|
|
| |
noughties, not eighties.
|
|
|
|
|
|
| |
safely initialise shared libraries that use SSE in their init sections.
MFC After: 1 week
|
|
|
|
|
|
| |
picked because higher warn levels are broken for ftp-proxy at the moment).
Approved by: mlaier
|
| |
|
|
|
|
|
| |
NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special
for it, now.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
implements i386_set_gsbase(), so there is no need for the variation.
|
|
|
|
| |
Noticed by: bde
|
|
|
|
| |
if the direct access methods are not implemented.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rc.conf[.local]. Fix this, and leave the default as 2048.
Update the copyright year to include the present.
Update the assignment of the copyright to be me personally,
instead of "The FreeBSD Project" which is not a legal entity,
and therefore not a proper assignee. My intention remains the
same however, that this code continue to be BSD licensed, and
freely available to anyone that wants it under those terms.
PR: conf/75722
Submitted by: Nicolas Rachinsky <list@rachinsky.de>
|
|
|
|
| |
an invalid type pun.
|
| |
|
|
|
|
|
| |
Noticed by: tinderbox, stefanf
Pointy hat to: nectar
|
|
|
|
| |
gettyflags, gettynums and gettystrs are available.
|
|
|
|
| |
Noticed by: Steve Kargl <sgk@troutmask.apl.washington.edu>
|
|
|
|
|
|
| |
during authentication. Thus we need to call getpwnam *after* the user
has been authenticated. Colin mentioned that we should also move the
check for root in that case.
|
|
|
|
|
|
|
|
| |
are initialised to zero. When freeing TLS, don't attempt to free DTV
slots which were not used.
Pointed out by: Joerg Sonnenberger
X-MFC-After: After the branch, probably
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
5.0-RELEASE), a visually elusive bug was introduced. A comparison
operator was changed to assignment. As a result, rexecd behaved
always as if the `-i' option had been specified. It would allow root
logins. This commit corrects the situation in the obvious way.
A separate bug was introduced at the same time. The PAM library
functions are called between the invocation of getpwnam(3) and the use
of the returned static object. Since many PAM library functions
result in additional getpwnam(3) calls, the contents of the returned
static object could be changed from under rexecd. With this commit,
getpwnam_r(3) is used instead.
Other PAM-using applications should be reviewed for similar errors in
getpw* usage.
Security: rexecd's documented default policy of disallowing root
logins was not enforced.
Reviewed by: cperciva
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LD_LIBMAP_DISABLE, LD_LIBRARY_PATH) are used, then make sure the
libraries being loaded aren't on a noexec-mounted filesystem.
This is a compromise position: I'm assuming that nobody will be silly
enough to set the noexec mount flag on part of the default library
path, in order to avoid adding extra overhead into the common case
(where those environment variables aren't used).
Discussed with: csjp, secteam
MFC after: 1 week
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk.
Discussed with: ru, nectar
|
|
|
|
| |
use of struct sockaddr_strage * is thought as not good manner. :)
|
|
|
|
|
|
|
| |
is unloaded. This allows applications which load and unload libraries
like libGL.so.1 several times to work properly.
MFC after: 2 days
|
|
|
|
| |
ARM_HAS_ATOMIC_CMPSET_32 isn't defined.
|
|
|
|
|
| |
struct sockaddr_storage *, there's no point in casting it prematurely
to a struct sockaddr *. This unbreaks WARNS=6 on sparc64.
|
| |
|
|
|
|
| |
MFC: along with rev. 1.202
|
|
|
|
|
|
|
| |
the function will emit an annoying log message otherwise.
Reported by: kris
MFC: along with rev. 1.202
|
|
|
|
|
| |
- No need for 'fromlen' to have file scope.
- Remove an unused variable.
|
|
|
|
| |
socklen_t * argument.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Another handy libmap patch. Lets you do stuff like this:
LD_LIBMAP="libpthread.so.1=libthr.so.1" mythreadedapp
If you already have a program-specific override in libmap.conf, note
that you must use a program-specific override in LD_LIBMAP:
LD_LIBMAP="[mythreadedapp],libpthread.so.1=libthr.so.1" mythreadedapp
PR: bin/74471
Submitted by: Dan Nelson <dnelson AT allantgroup.com>
MFC after: 2 weeks
|