| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
sparc64, use ANSI function headers and specifically indicate the lack of
arguments with 'void'. Otherwise, warnings are generated at WARNS=3 for
libkse, leading to a compile failure with -Werror.
Notes:
svn path=/head/; revision=174128
|
|
|
|
| |
Notes:
svn path=/head/; revision=173854
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unique names based on the submitted filename, a strftime(3) format
string and a two digit sequence number.
By default the strftime(3) format string is %Y%m%d (YYYYMMDD), but
this can be changed by the -F option.
PR: bin/106049 (based on patch in that PR)
Approved by: grog@ (mentor)
Notes:
svn path=/head/; revision=173852
|
|
|
|
| |
Notes:
svn path=/head/; revision=173745
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/Makefile.inc1 rev. 1.590, it can allow installing a world
cross-built for a different arch over the live system. The procedure
is more or less as follows:
cp -R /rescue /rescue.old
make installkernel TARGET_ARCH=foo
make -DNO_RTLD installworld TARGET_ARCH=foo
^^^^^^^^^
PATH=/rescue.old
chflags noschg /libexec/ld-elf.so.1
cp /usr/obj/foo/usr/src/libexec/rtld/ld-elf.so.1 /libexec
chflags schg /libexec/ld-elf.so.1
<ditto for ld-elf32.so.1 if installing for amd64>
reboot
Notes:
svn path=/head/; revision=173220
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the way we implement handling of relocations.
As for the kernel part this fixes the loading of lots of modules,
which failed to load due to unresolvable symbols when built after
the GCC 4.2.0 import. This wasn't due to a change in GCC itself
though but one of several changes in configuration done along the
import. Specfically, HAVE_AS_REGISTER_PSEUDO_OP, which causes GCC
to denote global registers used for scratch purposes and in turn
GAS uses R_SPARC_OLO10 relocations for, is now defined.
While at it replace some more ELF_R_TYPE which should have been
ELF64_R_TYPE_ID but didn't cause problems so far.
- Sync a sanity check between kernel and rtld(1) and change it to be
maintenance free regarding the type used for the lookup table.
- Sprinkle const on lookup tables.
- Use __FBSDID.
Reported and tested by: yongari
MFC after: 5 days
Notes:
svn path=/head/; revision=172708
|
|
|
|
|
|
|
| |
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=172402
|
|
|
|
|
|
|
| |
Approved by: re (hrs)
Notes:
svn path=/head/; revision=171562
|
|
|
|
|
|
|
|
|
|
|
|
| |
itself. It needs mmap(2), which now needs getosreldate(3) and
which in turn uses a global variable to cache the result. This
cannot be done before linking is done.
See also: ../sparc64/reloc.c:1.15
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171462
|
|
|
|
|
|
|
|
|
|
| |
not bother allocating one.
Submitted by: kan
Approved by: re (bmah)
Notes:
svn path=/head/; revision=171432
|
|
|
|
|
|
|
|
|
| |
be able to find it in order to trap shared library events from rtld.
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=171385
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setenv(3) by tracking the size of the memory allocated instead of using
strlen() on the current value.
Convert all calls to POSIX from historic BSD API:
- unsetenv returns an int.
- putenv takes a char * instead of const char *.
- putenv no longer makes a copy of the input string.
- errno is set appropriately for POSIX. Exceptions involve bad environ
variable and internal initialization code. These both set errno to
EFAULT.
Several patches to base utilities to handle the POSIX changes from
Andrey Chernov's previous commit. A few I re-wrote to use setenv()
instead of putenv().
New regression module for tools/regression/environ to test these
functions. It also can be used to test the performance.
Bump __FreeBSD_version to 700050 due to API change.
PR: kern/99826
Approved by: wes
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171195
|
|
|
|
|
|
|
|
|
|
|
| |
- move ftp-proxy from libexec to usr.sbin
- add tftp-proxy
- new altq mtag link
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171173
|
|
|
|
|
|
|
|
| |
Sort FILES section while there.
Touch document date.
Notes:
svn path=/head/; revision=170881
|
|
|
|
| |
Notes:
svn path=/head/; revision=170773
|
|
|
|
| |
Notes:
svn path=/head/; revision=170769
|
|
|
|
| |
Notes:
svn path=/head/; revision=170768
|
|
|
|
|
|
|
|
| |
errno is irrelevant. Some code duplication can be reduced
if perr() is variadic and perrx() is available.
Notes:
svn path=/head/; revision=170767
|
|
|
|
|
|
|
|
| |
Besides aesthetic benefits, that makes at(1) jobs subject to such
login.conf(5) settings as resource limits.
Notes:
svn path=/head/; revision=170741
|
|
|
|
| |
Notes:
svn path=/head/; revision=170739
|
|
|
|
| |
Notes:
svn path=/head/; revision=170728
|
|
|
|
|
|
|
|
|
|
|
| |
strncpy(dst, src, sizeof(dst));
by substituting the safer strlcpy() for strncpy().
X-Security: none (the source string isn't user-supplied)
Notes:
svn path=/head/; revision=170726
|
|
|
|
|
|
|
|
| |
PR: 106049
Submitted by: edwin (as part of a larger patch)
Notes:
svn path=/head/; revision=170240
|
|
|
|
|
|
|
|
| |
the case that the program is set-user-ID or set-group-ID. Add missing
annotations for LIBMAP and LIBMAP_DISABLE.
Notes:
svn path=/head/; revision=169663
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
potentially dangerous environment variables all together. It should be
noted that the run-time linker will not honnor these environment variables
if the process is tainted currently. However, once a child of the tainted
process calls setuid(2), it's status as being tainted (as defined by
issetugid(2)) will be removed. This could be problematic because
subsequent activations of the run-time linker could honnor these
dangerous variables.
This is more of an anti foot-shot mechanism, there is nothing I am
aware of in base that does this, however there may be third party
utilities which do, and there is no real negative impact of clearing
these environment variables.
Discussed on: secteam
Reviewed by: cperciva
PR: kern/109836
MFC after: 2 weeks
Notes:
svn path=/head/; revision=169661
|
|
|
|
|
|
|
|
|
|
| |
symbol lookup failures that later result in null-pointer
dereferences. This needs looking into, but since we're
close to release it's possible that it's not resolved before
that time.
Notes:
svn path=/head/; revision=169630
|
|
|
|
|
|
|
| |
shared object.
Notes:
svn path=/head/; revision=169629
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Warning, after symbol versioning is enabled, going back is not easy
(use WITHOUT_SYMVER at your own risk).
Change the default thread library to libthr.
There most likely still needs to be a version bump for at least the
thread libraries. If necessary, this will happen later.
Notes:
svn path=/head/; revision=169524
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=169501
|
|
|
|
|
|
|
|
|
| |
PR: docs/66265 (inspired by)
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 1 week
Notes:
svn path=/head/; revision=169500
|
|
|
|
|
|
|
|
| |
PR: threads/112297
MFC: 1 week
Notes:
svn path=/head/; revision=169276
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not because I admit they are technically wrong and not because of bug
reports (I receive nothing). But because I surprisingly meets so
strong opposition and resistance so lost any desire to continue that.
Anyone who interested in POSIX can dig out what changes and how
through cvs diffs.
Notes:
svn path=/head/; revision=169177
|
|
|
|
| |
Notes:
svn path=/head/; revision=169171
|
|
|
|
|
|
|
| |
don't allow putenv() arg be on the stack, replace putenv() with setenv()
Notes:
svn path=/head/; revision=169121
|
|
|
|
|
|
|
|
|
|
| |
to override weak symbols exported by libc, so by definition these two
are using the same symbol version names.
Reflect the reality by referring to libc's Versions.def directly.
Notes:
svn path=/head/; revision=169095
|
|
|
|
| |
Notes:
svn path=/head/; revision=169093
|
|
|
|
| |
Notes:
svn path=/head/; revision=169092
|
|
|
|
| |
Notes:
svn path=/head/; revision=168899
|
|
|
|
|
|
|
|
|
| |
to myself that I understand it.
Bump document date.
Notes:
svn path=/head/; revision=168871
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The support for RFC 2640 (UTF8) is optional and rudimentary.
The server just advertises its capability to handle UTF-8 file
names and relies on its own 8-bit cleanness, as well as on
the backward compatibility of UTF-8 with ASCII. So uploaded
files will have UTF-8 names, but the initial server contents
should be prepared in UTF-8 by hand, no on-the-fly conversion
of file names will be done.
PR: bin/111714
Submitted by: Zhang Weiwu <see email in the PR>
MFC after: 1 week
Notes:
svn path=/head/; revision=168849
|
|
|
|
|
|
|
|
|
|
| |
libc.
Disable SYMVER_DEFAULT n rtld until its implications are understood
better.
Notes:
svn path=/head/; revision=168558
|
|
|
|
|
|
|
| |
module yet.
Notes:
svn path=/head/; revision=168480
|
|
|
|
|
|
|
|
|
|
|
| |
main object list, its versioning information needs to be examined
separately.
This hopefully fixes problems that people running with SYMVER_ENABLED
are experiencing.
Notes:
svn path=/head/; revision=168479
|
|
|
|
| |
Notes:
svn path=/head/; revision=168319
|
|
|
|
|
|
|
|
| |
Convert boolean flags in internal Obj_Entry structure into bitfields.
Properly check for loaded segment alignment in map_object.
Notes:
svn path=/head/; revision=168312
|
|
|
|
|
|
|
| |
ops function prototypes.
Notes:
svn path=/head/; revision=168311
|
|
|
|
|
|
|
|
| |
setting the SO_SNDBUF socket option. Using a hard-coded value for
it was a poor idea anyway in the face of diverse network conditions.
Notes:
svn path=/head/; revision=166598
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=166205
|
|
|
|
|
|
|
|
|
|
|
| |
activate the traces, set the LD_UTRACE (or LD_32_UTRACE) environment
variable. This also includes code in kdump(8) to parse the traces.
Reviewed by: kan, jdp
MFC after: 2 weeks
Notes:
svn path=/head/; revision=165916
|
|
|
|
|
|
|
|
| |
Approved by: rwatson (mentor)
Reviewed by: jmg and marcel
Notes:
svn path=/head/; revision=163118
|