Brooks Davis
20ca407e2f
Remove several MLINKS that were listed twice.
2013-01-23 23:53:26 +00:00
Gleb Smirnoff
422d45aa3b
posix_fadvise(2) first appeared in FreeBSD 9.1
2013-01-23 10:50:52 +00:00
Pawel Jakub Dawidek
ffce2a5b46
Note that SIGCHLD is special and if ignored, won't be recorded by the filter.
2013-01-21 22:07:34 +00:00
Andrew Turner
0129836894
Add the required __aeabi_* functions to libc.
...
The floating point functions are here rather than compiler-rt because the
libc softfloat code allows us to set the rounding mode.
2013-01-19 05:33:55 +00:00
Neel Natu
c458fc1ed4
Merge projects/bhyve to head.
...
'bhyve' was developed by grehan@ and myself at NetApp (thanks!).
Special thanks to Peter Snyder, Joe Caradonna and Michael Dexter for their
support and encouragement.
Obtained from: NetApp
2013-01-19 04:18:52 +00:00
Andrew Turner
bb41cbb27c
Use the compiler-rt version __{u,}divsi3 and __{u,}modsi3 on ARM EABI
2013-01-19 04:11:45 +00:00
Andrew Turner
2aebb6cefe
Update the syscall calling convention for ARM EABI. We store the syscall
...
in r7 and use ip to store the old version of r7 as it is not guaranteed to
be kept when calling a subroutine. The kernel will preserve the register
across system calls.
2013-01-19 04:03:18 +00:00
Andrew Turner
773e120f25
There should have been a tab after SRCS+=
2013-01-19 03:47:18 +00:00
Andrew Turner
850e744187
For ARM EABI we only need a subset of the quad functions, the rest are
...
provided by libgcc.
2013-01-19 02:33:57 +00:00
Andrew Turner
79ef2c6406
Add the __aeabi_*divmod functions to the compiler-rt build
2013-01-19 02:28:44 +00:00
Jilles Tjoelker
b18943f3b4
libthr: Always use the threaded rtld lock implementation.
...
The threaded rtld lock implementation is faster even in the single-threaded
case because it postpones signal handlers via THR_CRITICAL_ENTER and
THR_CRITICAL_LEAVE instead of calling sigprocmask(2).
As a result, exception handling becomes faster in single-threaded
applications linked with libthr.
Reviewed by: kib
2013-01-18 23:08:40 +00:00
Neel Natu
c2217b9848
IFC @ r245509
2013-01-17 07:04:37 +00:00
Andrey Zonov
69d649baa9
- Use standard RETURN VALUES section.
...
Approved by: kib (mentor)
MFC after: 1 week
2013-01-15 14:09:08 +00:00
Mateusz Guzik
08ecf0cc41
libutil: fix typo in comment for gr_fini.
...
Submitted by: Christoph Mallon <christoph.mallon gmx.de>
2013-01-13 22:08:18 +00:00
Mateusz Guzik
49013fb476
libutil: utilize strsep instead of strcat in a loop in gr_make
...
Submitted by: Christoph Mallon <christoph.mallon gmx.de>
2013-01-13 21:28:47 +00:00
Mateusz Guzik
fe75b0f0e5
libutil: move group_line_format into the scop of its only user.
...
Submitted by: Christoph Mallon <christoph.mallon gmx.de>
2013-01-13 21:26:57 +00:00
Mateusz Guzik
29365f023a
libutil: eliminate 'found' variable in gr_equal
...
Submitted by: Christoph Mallon <christoph.mallon gmx.de>
2013-01-13 21:25:43 +00:00
Joel Dahl
423ce1a5ed
Add FILES section.
...
Submitted by: jmc@OpenBSD
2013-01-12 09:08:37 +00:00
Joel Dahl
67e33a5b8a
editrc only read from $HOME.
...
Submitted by: LEVAI Daniel (via jmc@OpenBSD)
2013-01-12 09:07:19 +00:00
Brooks Davis
62557825cc
Add contrib/libc-vis to the include path so we reliably pick up the right
...
version of vis.h.
Reported by: dim
2013-01-11 17:51:03 +00:00
Brooks Davis
30bd63bc4a
In r244401 I accidently moved strunvis and strunvisx from version 1.0 to
...
1.3 breaking the libc ABI. Revert that change (breaking the ABI again
for users who updated after December 18th).
2013-01-11 15:50:01 +00:00
Hajimu UMEMOTO
f09c52c333
Re-enable ip6addrctl support but only for IPv6 address.
...
Requested by: Ben Morrow <ben__at__morrow.me.uk>
MFC after: 1 week
2013-01-10 14:08:19 +00:00
Andrey V. Elsukov
99d9e4ec60
Fix the bindto parameter declaration.
...
Submitted by: sem
2013-01-09 19:49:35 +00:00
Hajimu UMEMOTO
d38f4ead6f
Disable destination address selection support of
...
getipnodebyname(1). RFC 2553 mentions IPv6 addresses
are returned 1st.
Spotted by: uqs
MFC after: 1 week
2013-01-09 15:22:37 +00:00
Neel Natu
1b54fbe69d
IFC @ r245178
2013-01-09 02:26:50 +00:00
Konstantin Belousov
d549ead6a9
Only assign the environ in the startup code when environ is NULL.
...
Preloaded library could have changed the environment, and
unconditional assingment to the environ undoes the customization.
The binaries needs to be recompiled to get the fix.
Move the common code to set up environ and __progname into the helper.
Note that ia64 possibly not fixed, due to it still using old csu.
Reported and tested by: John Hein <jhein@symmetricom.com>
Reviewed by: kan, scf
Approved by: secteam (simon)
MFC after: 2 weeks
2013-01-07 17:58:27 +00:00
Andrew Turner
955c8cbb49
Silence a clang warning by telling it we are only interested in left
...
shifting the lower 32bits of the floating point value when we demangle it.
2013-01-06 00:49:06 +00:00
Neel Natu
46b1c55d9e
IFC @ r244983.
2013-01-04 19:28:32 +00:00
Pedro F. Giffuni
e1c01d08f1
libedit: bind the correct command when using "bind -k".
...
"ed-argument-digit" (i. e. command 0) was incorrectly used
instead.
This bug comes from the original sources imported in 1994
and has been confirmed in upstream NetBSD.
Reported by: Yamagi Burmeister
Submitted by: Christoph Mallon
MFC after: 3 days
2013-01-01 19:20:51 +00:00
Antoine Brodin
8f02d4ce1c
Add missing DPADD
2013-01-01 18:29:25 +00:00
Nathan Whitehorn
c857d06af7
With the old sade removed, libdisk is no longer used by anything in HEAD
...
and uses a number of problematic pre-gpart interfaces. Since it has been
entirely obsoleted by interfaces in geom, remove it.
2012-12-30 16:28:06 +00:00
Baptiste Daroussin
7780953ee4
Simplify pointing dst after the end of all the gr_mem pointers in newgr
...
Submitted by: pjd
Reviewed by: db
2012-12-28 20:44:10 +00:00
Baptiste Daroussin
fe390747e4
errno = ENOMEM was supposed to be removed not return (NULL);
...
Submitted by: gcooper
2012-12-28 20:30:04 +00:00
Baptiste Daroussin
d00489b70f
malloc() sets errno to ENOMEM already.
...
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
2012-12-28 20:21:14 +00:00
Baptiste Daroussin
167145a17d
Do not leave parts of the new group uninitialized in gr_dup().
...
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
Reported by: pjd
2012-12-28 20:19:54 +00:00
Xin LI
5625bb0c36
Add derived versions for common Simplified Chinese encodings.
...
MFC after: 2 weeks
2012-12-28 01:23:12 +00:00
Xin LI
190fb357ca
Add zh_CN.UTF-8 catalog.
...
Reviewed by: alphachi <alphachi mediaspirit.org>
MFC after: 2 weeks
2012-12-28 01:09:30 +00:00
Baptiste Daroussin
5019747579
avoid arithmetic on uintptr_t
...
Submitted by: pjd
Reviewed by: jilles
2012-12-27 20:47:34 +00:00
Baptiste Daroussin
7d90019877
cast to uintptr_t to properly calculate offset
...
Reported by: mdf
Submitted by: db
2012-12-27 20:31:12 +00:00
Baptiste Daroussin
ede89d5db2
Add O_CLOEXEC to flopen
...
Requested by: jilles
2012-12-27 20:24:44 +00:00
Baptiste Daroussin
1067c64a19
gr_dup: simplify duplication of group
...
Submitted by: db
2012-12-27 19:33:43 +00:00
Baptiste Daroussin
2bfeb4fe75
- Clean up previous gr_add use malloc instead of calloc
...
- Fix tinderbox error
Submitted by: db
2012-12-27 16:51:29 +00:00
Baptiste Daroussin
be49c83011
New gr_add function to provide a clean and safe method to append a new member
...
into an existing group.
Submitted by: db
2012-12-27 14:30:19 +00:00
Baptiste Daroussin
98e79fb122
Use flopen(3) instead of open(2) + flock(2)
2012-12-27 14:09:50 +00:00
Sergey Kandaurov
322f22f7b5
Fix libproc test case to work with clang premature optimization
...
observed with -O2 (used by default).
Avoid function inlining for t1_bkpt_t on which we set a breakpoint.
Otherwise the address of the function is never called thus the
breakpoint never triggers.
Reported by: zont
Reviewed by: rpaulo
2012-12-26 05:11:48 +00:00
Andrey Zonov
bde505592f
- Update manual pages accordingly to r244384 and r244385.
...
Approved by: kib (mentor)
MFC after: 1 week
2012-12-25 13:43:01 +00:00
Dimitry Andric
c80e6c4bec
Upgrade our copy of llvm/clang to 3.2 release.
...
Release notes for llvm:
http://llvm.org/releases/3.2/docs/ReleaseNotes.html
Release notes for clang:
http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html
MFC after: 2 weeks
2012-12-23 13:04:00 +00:00
Dimitry Andric
be7c9ec198
Vendor import of clang tags/RELEASE_32/final r170710 (effectively, 3.2
...
release):
http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_32/final@170710
2012-12-22 15:00:54 +00:00
Dimitry Andric
482e7bddf6
Vendor import of llvm tags/RELEASE_32/final r170710 (effectively, 3.2
...
release):
http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_32/final@170710
2012-12-22 14:58:30 +00:00
Xin LI
53e075c0b9
- Reduce buffer size from LINE_MAX to PATH_MAX, there is no point to store
...
path longer than this.
- Fix an unreached case of check against sizeof buf, which in turn leads
to an off-by-one nul byte write on the stack. The original condition
can never be satisfied because the passed boundary is the maximum value
that can be returned, so code was harmless.
MFC after: 1 month
2012-12-21 22:20:59 +00:00