| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
Add a .note.ABI-tag section to ia64 startup files by linking crtbrand.c
in crt1.o. On other architectures crtbrand.c is included from crt1.c,
but that's not a C source code file on ia64. Instead it is compiled
separately and included in crt1.o using incremental linking.
Approved by: re (kensmith), kib (mentor)
Notes:
svn path=/stable/8/; revision=216433
|
| |
|
|
|
|
|
|
|
|
| |
Correct description of the return values of
the LibUSB v1.0 libusb_control_transfer() function.
PR: usb/151851
Notes:
svn path=/stable/8/; revision=215984
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix LibUSB v1.0 compliancy.
1) We need to allow the USB callback to free the USB transfer itself.
2) The USB transfer buffer should only be automatically freed when
freeing the USB transfer.
Notes:
svn path=/stable/8/; revision=215983
|
| |
|
|
|
|
|
|
|
| |
- Add a new API function to check the connected
status of the USB handle in the LibUSB v1.0 and
LibUSB v0.1 interfaces.
Notes:
svn path=/stable/8/; revision=215982
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit merges the MIPS platform changes that was now stable in
-CURRENT into 8-STABLE. The MIPS changesets are too many (~400) to list
here. But the changesets merged in this commit that affect other platforms
are summarized below:
r204635 : (changes to sys/dev/hwpmc, lib/libpmc, sys/sys/pmc.h)
Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor.
r205845: (changes to sys/modules/Makefile)
Fix for building modules on mips and arm.
r204031: (changes to sys/kern/link_elf_obj.c)
printf fix, as part of kernel module support for MIPS.
r206404: (changes to sys/arm/include/bus.h)
Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the
other platforms - for arm and mips.
r206819: (changes to sys/vm/)
Add VMFS_TLB_ALIGNED_SPACE option and kmem_alloc_nofault_space(), which
is used to allocate kernel stack address on MIPS.
r208165, r211087: (sys/kern/subr_smp.c, sys/kern/sched_ule.c)
Enable ULE scheduler for MIPS, Fix for an issue in SMP when 32 cpus are
enabled.
r208659: (sys/{ia64/ia64,mips/mips,sun4v/sun4v}/pmap.c)
Simplify the inner loop of get_pv_entry()
r208794: (changes to sys/vm/)
Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig()
fails to allocate MIPS page table pages.
r210327: (changes to sys/vm/)
Support for MIPS page table page allocation. Add a new function 'vm_page_t
vm_page_alloc_freelist(int flind, int order, int req)' to vm/vm_page.c to
allocate a page from a specified freelist, and other related changes.
Reviewed by: alc(vm changes only)
Approved by: kib(re), alc(vm), imp(mips), jmallett(mips), gnn(mips pmc)
Notes:
svn path=/stable/8/; revision=215938
|
| |
|
|
|
|
|
|
|
| |
Sync with OpenBSD, primarily better signal and terminal handling.
Obtained from: OpenBSD
Notes:
svn path=/stable/8/; revision=215934
|
| |
|
|
|
|
|
|
| |
This should reduce size of the minidump.
Compatibility with version 1 should be preserved in libkvm.
Notes:
svn path=/stable/8/; revision=215872
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=215757
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MFC r213700:
Upgrade xz to git snapshot as of 20101010
MFC r215187:
Update xz to release 5.0.0
MFC r215515
Remove obsoleted private symbol.
Approved by: delphij (mentor)
Notes:
svn path=/stable/8/; revision=215737
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add missing LibUSB API functions:
* libusb_strerror()
* libusb_get_driver[_np]()
* libusb_detach_kernel_driver[_np]()
- Factor out setting of non-blocking flag inside libusb.
- Add missing NULL check after libusb_get_device() call.
- Correct some wrong error codes due to copy and paste error.
PR: usb/150546
Submitted by: Robert Jenssen, Alexander Leidinger
Notes:
svn path=/stable/8/; revision=215546
|
| |
|
|
|
|
|
|
| |
Resort includes to match style(9) a bit more. No functional change
is expected after this commit.
Notes:
svn path=/stable/8/; revision=215477
|
| |
|
|
|
|
|
| |
Remove redundand headers and use more standard ones where necessary.
Notes:
svn path=/stable/8/; revision=215476
|
| |
|
|
|
|
|
|
| |
Use more standard way for setting nonblocking flag for a filedescriptor.
This makes libusb porting a bit easier.
Notes:
svn path=/stable/8/; revision=215475
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=215233
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=214984
|
| |
|
|
|
|
|
|
|
|
|
|
| |
r210199 r210237 r210692 r210695 r210767 r210775 r210776 r211545 r211554
r211562 r212092 r212358 r212414 r212462 r212495 r210693 r211547 r211550
r211554 r211561 r211577 r210691 r210697 r211563 r211564 r211841 r211842
r211562 r212649 r211187 r211555:
Userland DTrace MFC. This only includes the userland side of userland DTrace.
Notes:
svn path=/stable/8/; revision=214983
|
| |
|
|
|
|
|
|
|
| |
Build librtld_db.
Simplify the Makefile. The i386 and amd64 sections are equal.
libproc is going to be i386/amd64 only with the next update.
Notes:
svn path=/stable/8/; revision=214981
|
| |
|
|
|
|
|
|
| |
librtld_db is an rtld debugging helper library used by userland
DTrace.
Notes:
svn path=/stable/8/; revision=214978
|
| |
|
|
|
|
|
| |
Prep for the 9.6-ESV-R2 update
Notes:
svn path=/stable/8/; revision=214810
|
| |
|
|
|
|
|
|
| |
Extend the td_thrinfo_t to include siginfo for the signal that stopped
the target.
Notes:
svn path=/stable/8/; revision=214759
|
| |
|
|
|
|
|
| |
Document pl_siginfo and PT_FLAG_SI for PT_LWPINFO.
Notes:
svn path=/stable/8/; revision=214758
|
| |
|
|
|
|
|
|
| |
Improve the documentation for PT_LWPINFO. Note that some features are
not implemented on MIPS and ARM.
Notes:
svn path=/stable/8/; revision=214757
|
| |
|
|
|
|
|
|
| |
Find a jail's type as part of jailparam_init rather than waiting until
it's absolutely necessary.
Notes:
svn path=/stable/8/; revision=214747
|
| |
|
|
|
|
|
|
|
|
| |
First step at adopting FreeBSD to support PSARC/2010/029. This makes
acl_is_trivial_np(3) properly recognize the new trivial ACLs. From
the user point of view, that means "ls -l" no longer shows plus signs
for all the files when running ZFS v28.
Notes:
svn path=/stable/8/; revision=214626
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add minor optimization. It's less strict than its kernel counterpart
due to upcoming ACL changes required by the new ZFS.
MFC r212379:
Fix previous commit.
Notes:
svn path=/stable/8/; revision=214624
|
| |
|
|
|
|
|
| |
should return zero.
Notes:
svn path=/stable/8/; revision=214548
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=214547
|
| |
|
|
|
|
|
|
|
| |
If a user calls sctp_sendx() with a NULL
sinfo we will crash. Instead we should provide
our own temp structure to use internally.
Notes:
svn path=/stable/8/; revision=214391
|
| |
|
|
|
|
|
|
|
|
|
| |
Sync with OpenBSD rev. 1.13:
strtonum does not require limits.h
Obtained from: OpenBSD
Discussed with: ru@
Notes:
svn path=/stable/8/; revision=214379
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In current code, statically initialized and destroyed object have
same null value, the code can not distinguish between them, to
fix the problem, now a destroyed object is assigned to a non-null
value, and it will be rejected by some pthread functions.
PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is changed to number 1, so that
adaptive mutex can be statically initialized correctly.
Notes:
svn path=/stable/8/; revision=214371
|
| |
|
|
|
|
|
|
|
| |
Increase maximum network timeout from 20s to 120s.
Sponsored by: Sandvine Incorporated
Notes:
svn path=/stable/8/; revision=214361
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
On anything modern, the C version, which processes a word at a time, is much
faster. The Intel optimization manual explicitly warns against using REP
prefixes with SCAS or CMPS, which is exactly what the assembler version
does.
A simple test on a Phenom II showed the C version, compiled with -O2, to be
about twice as fast determining the length of 100000 strings between 0 and
255 bytes long.
Notes:
svn path=/stable/8/; revision=214086
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strptime(3) confused July with June with the fr_FR locale.
When parsing the month "juillet" (abbr "jul"), %B recognized it as
"juin" (abbr "jui") because the full name of the month names is
checked at the same time as the abbrevation.
The new behaviour checks the full names first before checking the
abbrevation names.
PR: kern/141939
Submitted by: Denis Chatelain <denis@tikuts.com>
Notes:
svn path=/stable/8/; revision=214079
|
| |
|
|
|
|
|
|
| |
Handle null return from XML_ParserCreate and fix a few memory leaks on
error conditions.
Notes:
svn path=/stable/8/; revision=214055
|
| |
|
|
|
|
|
|
|
|
|
| |
Add cross-references to lrand48(3) and arc4random(3) from rand(3)
and random(3).
MFC r213477:
Missed space.
Notes:
svn path=/stable/8/; revision=213773
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Use an initializer macro to initialize fields in 'fake' FILE objects used
by *sprintf(), etc.
- Explicitly initialize _fl_mutex to PTHREAD_MUTEX_INITIALIZER for all FILE
objects. This is currently a nop on FreeBSD, but is import for other
platforms (or in the future) where PTHREAD_MUTEX_INITIALIZER is not simply
zero.
Notes:
svn path=/stable/8/; revision=213720
|
| |
|
|
|
|
|
| |
Fix punctuation and grammar, mostly by ending sentences with a period.
Notes:
svn path=/stable/8/; revision=213692
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libelf is overly strict about the type and alignment of Elf_Data
objects inside one ELF section, which prevents the creation of a ELF
section with mixed data types. For example, gcc LTO use libelf to
create a .gnu_lto_XXX section that contains integers and a string
table, which doesn't work with our libelf implementation.
The changes made in this commit include:
* Allow Elf_Data type to be different than section type.
* Relax Elf_Data alignment check.
* Align each Elf_Data by their own alignment instead of section alignment.
Notes:
svn path=/stable/8/; revision=213670
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Do not link usr.bin/ar to liblzma if building bootstrap-tools and
the local system doesn't include liblzma (fixes world build on FreeBSD 7.x)
This is a direct commit.
Approved by: delphij (mentor)
Notes:
svn path=/stable/8/; revision=213667
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=213473
|
| |
|
|
|
|
|
|
| |
Expose stripesize and stripeoffset via kernel sysctl as well as userland
library and the geom(8) utility.
Notes:
svn path=/stable/8/; revision=213467
|
| |
|
|
|
|
|
|
|
|
|
| |
Add the following Linux BlueZ compatibility macros: htobs(), htobl(),
btohs() and btohl()
PR: kern/136386
Submitted by: Monty Hall < kungfu_disciple at sbcglobal dot net >
Notes:
svn path=/stable/8/; revision=213276
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=213184
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In setusercontext(), do not apply user settings unless running as the
user in question (usually but not necessarily because we were called
with LOGIN_SETUSER). This plugs a hole where users could raise their
resource limits and expand their CPU mask.
Approved by: des
Notes:
svn path=/stable/8/; revision=213144
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add basename_r(3) to complement basename(3). basename_r(3) which accepts
a caller-allocated buffer of at least MAXPATHLEN, rather than using a
global buffer.
Note about semantics: while this interface is not POSIXy, there's
another major platform that uses it (Android) and the semantics between
the two platforms are pretty much the same.
Notes:
svn path=/stable/8/; revision=213002
|
| |
|
|
|
|
|
|
| |
Fix invalid class removal when IAF is not the last class.
Keep IAF class with 0 PMC and change the alias in libpmc to IAP.
Notes:
svn path=/stable/8/; revision=212740
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify lib/libstand/nfs.c to use NFSv3 instead of NFSv2.
This allows the nfs_getrootfh() function to return the
correct file handle size to pxe.c for pxeboot. It also
results in NFSv2 no longer being used by default anywhere
in FreeBSD. If built with OLD_NFSV2 defined, the old
code that predated this patch will be built and NFSv2
will be used. pxe.c is also modified to use this version
of nfs_getrootfh() so that pxeboot will use NFSv3 and
work for non-FreeBSD as well as FreeBSD NFS servers.
Notes:
svn path=/stable/8/; revision=212717
|
| |
|
|
|
|
|
|
|
| |
Add ECONNRESET to connect(2).
Approved by: keramida (mentor)
Notes:
svn path=/stable/8/; revision=212564
|
| |
|
|
|
|
|
|
|
| |
Move the __stack_chk_fail_local@FBSD_1.0 compat symbol definition into
the separate .o for libc_pic.a. This prevents rtld from making the
symbol global.
Notes:
svn path=/stable/8/; revision=212290
|
| |
|
|
|
|
|
| |
Remove unused source.
Notes:
svn path=/stable/8/; revision=212289
|