summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* - Avoid using deprecated heimdal functions in pam_krb5.stas2012-03-242-69/+102
|
* Make libproc compilable for MIPSgonzo2012-03-232-0/+11
|
* Add handler for MIPS.options sectiongonzo2012-03-231-0/+2
|
* Silence alignment warnings from clang in libarchive's ppmd code (whichdim2012-03-231-0/+1
| | | | | is actually third-party code). Clang even warns about alignment issues on x86, and the warnings are not needed there.
* Make utmpx(3) thread safe if we support TLS.ed2012-03-232-0/+9
| | | | | | Because the utmpx interface is generally not required to be thread-safe, but it is nice to have, if easy to do so. Therefore don't make a mess out of the code and only use it if __NO_TLS is not defined.
* - Do not build libcom_err and compile_et when kerberos is disabled. Theystas2012-03-231-1/+4
| | | | | depends on several heimdal libraries and not used by anything but kerberos tools.
* Add Octeon-related parts to libpmcgonzo2012-03-231-0/+21
|
* Correct a function prototype.jkoshy2012-03-221-1/+1
| | | | Submitted by: "Anders Magnusson" <ragge at ludd.ltu.se>, via joel
* Make reusable part of code have mips prefix, not mips24gonzo2012-03-221-9/+10
|
* - Avoid use of deprecated KRB5 functions.stas2012-03-222-15/+25
|
* Fix style. Somehow I managed to lost a space when copy&paste.pluknet2012-03-221-1/+1
| | | | Pointed out by: stefanf
* Prevent fs_file NULL pointer dereference in fixfsfile() uncovered after r1.5pluknet2012-03-221-1/+1
| | | | | | when passing damaged user-supplied fstab file data. MFC after: 1 week
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsstas2012-03-227-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
| * - Update vendor tree of heimdal to 1.5.1.stas2011-10-0832-15261/+35060
| |
| * - Import Heimdal 1.5 distribution.stas2011-10-051509-52863/+406559
| |
| * - Kill files that do not belong to the laters heimdal version imported.stas2011-09-2961-8736/+0
| |
| * - Disable keyword expansion on vendor heimdal code.stas2011-09-291-1/+1
| |
| * - Flatten the vendor heimdal tree.stas2011-09-29945-0/+253324
|
* Revert previous change. It is an incomplete change from old branch. :-(davidxu2012-03-211-60/+39
|
* Use version 2 of semaphore provided by kernel umtx code, now if there isdavidxu2012-03-211-39/+60
| | | | | | | no waiters, we still increase and decrease count in user mode without entering kernel, once there is a waiter, sem_post will enter kernel to increase count and wake thread up, this is atomicy and allow us to gracefully destroy semaphore after sem_wait returned.
* Import new version of libcxxrt. Now works correctly with libobjc2 to implementtheraven2012-03-201-0/+5
| | | | | | the unified exception model for Objective-C++. Approved by: dim (mentor)
* Add symbol versioning to libcxxrt.theraven2012-03-192-0/+319
| | | | Approved by: dim (mentor)
* Make __get_locale() static inline, not just inline, so when compiling libc intheraven2012-03-191-1/+1
| | | | | | debug mode (without optimisations) it doesn't generate a linker failure. Approved by: dim (mentor)
* Remove trailing whitespace.bjk2012-03-191-2/+2
| | | | Approved by: hrs (mentor)
* Expound a bit more about the system maximum number of FIBs,bjk2012-03-191-2/+20
| | | | | | | | how it may be set, and current limitations on the value. Approved by: hrs (mentor) PR: docs/157453 MFC after: 1 week
* draft-ietf-ipv6-scoping-arch-02.txt is now RFC 4007eadler2012-03-191-1/+1
| | | | | | | | PR: docs/163771 Submitted by: phk Reviewed by: If someone else reviewed your modification. Approved by: cperciva MFC after: 1 week
* Use clockid parameter instead of hard-coded CLOCK_REALTIME.davidxu2012-03-191-1/+1
| | | | Reported by: pjd
* fts(3): Mention that FTS_NOCHDIR imposes {PATH_MAX} limits on the returnedjilles2012-03-181-2/+5
| | | | | | | | | | | pathnames. With the current API (no *at functions), FTS_NOCHDIR requires that the fts_accpath start with the original path passed to fts_open(); therefore, the depth that can be reached is limited by the {PATH_MAX} constraint on this pathname. MFC after: 1 week
* fts(3): Document cases where FTS_NOCHDIR is set implicitly.jilles2012-03-181-1/+11
| | | | | | PR: docs/166091 Submitted by: Matthew Story MFC after: 1 week
* Unbreak trhe build by including proper headergonzo2012-03-181-1/+1
|
* Fix TLS for statically linked binariesgonzo2012-03-181-0/+4
| | | | Approved by: cognet
* Some software think a mutex can be destroyed after it owned it, fordavidxu2012-03-181-7/+0
| | | | | | | | | | | example, it uses a serialization point like following: pthread_mutex_lock(&mutex); pthread_mutex_unlock(&mutex); pthread_mutex_destroy(&muetx); They think a previous lock holder should have already left the mutex and is no longer referencing it, so they destroy it. To be maximum compatible with such code, we use IA64 version to unlock the mutex in kernel, remove the two steps unlocking code.
* Do not claim that msync(2) is obsoleted [1].kib2012-03-172-4/+7
| | | | | | | | Document EIO from msync(2). Inspired by PR: docs/165929 [1] Reviewed by: jilles MFC after: 2 weeks
* Make sure libgcc_s is finished building in _startup_libs beforepeter2012-03-171-1/+1
| | | | | | | building libcxxrt with high -j levels. The workaround in libc++/Makefile isn't necessary once that race is solved. Reviewed by: theravin
* When destroying a barrier, waiting all threads exit the barrier,davidxu2012-03-162-4/+31
| | | | | this makes it possible a thread received PTHREAD_BARRIER_SERIAL_THREAD immediately free memory area of the barrier.
* Remove non-existing error condition.ed2012-03-151-4/+1
| | | | | | | | Just like kill(2), it is impossible for killpg(0, ...) to fail with ESRCH, as a process always has a process group. Discussed on: arch@ MFC after: 1 week
* Extend the description for ESRCH a bit.ed2012-03-151-1/+1
| | | | | | | | This errno can also be returned if the passed process identifier doesn't correspond with a process group. Discussed on: arch@ MFC after: 1 week
* Remove impossible error condition from the man page.ed2012-03-151-4/+1
| | | | | | | | | On FreeBSD, all processes have a process group, so it is impossible for kill(2) to fail this way. POSIX also doesn't mention this error condition. Discussed on: arch@ MFC after: 3 weeks
* Fix indentation.kib2012-03-141-1/+1
| | | | MFC after: 3 days
* Import new versions of libcxxrt and libc++.theraven2012-03-141-0/+1
| | | | | | Please tests any C++ code you care about with -stdlib=libc++! Approved by: dim (mentor)
* First set of xlocale man pages. More to follow...theraven2012-03-1310-2/+223
| | | | Approved by: dim (mentor)
* Work around a binutils bug on powerpc64 where the TOC would not benwhitehorn2012-03-131-1/+2
| | | | | | | | | | properly reloaded when calling _fini() in large binaries with multiple TOC sections (e.g. GCC), leading to a segmentation fault. Adding -mlongcall to crt1 flags causes the compiler to emit explicit TOC load instructions for all function calls, including _fini(). Reviewed by: kib Pointy hat to: kib
* More xlocale cleanups.theraven2012-03-131-0/+4
| | | | Approved by: dim (mentor)
* Stop calling _init/_fini methods from crt1 for dynamic binaries. Dokib2012-03-1116-180/+187
| | | | | | | | | | | | | call preinit, init and fini arrays methods from crt1 for static binaries. Mark new crt1 with FreeBSD-specific ELF note. Move some common crt1 code into new MI file ignore_init.c, to reduce duplication. Also, conservatively adjust nearby sources for style. Reviewed by: kan Tested by: andrew (arm), flo (sparc64) MFC after: 3 weeks
* Add a header with definitions useful for constructing ELF notes.kib2012-03-111-0/+38
| | | | | Reviewed by: kan MFC after: 3 weeks
* Cross-reference sigqueue(2) and kill(2).trasz2012-03-102-2/+4
|
* Fix build of libc.so after r232620. This caused a duplicate definitiondim2012-03-061-0/+6
| | | | | | of __getCurrentRuneLocale(). Pointy hat to: me
* - Remove one more no-op #ifndefgonzo2012-03-061-2/+0
|
* Remove some duplicated copyright notices.theraven2012-03-062-10/+0
| | | | Approved by: dim (mentor)
* - Switch ARM and MIPS to TLS Variant Igonzo2012-03-061-3/+10
| | | | | | - Fix TLS allocation for Variant I: both rtld and libc allocators assume that tls_static_space includes space for TLS structure. So increment calculated static size by the size of it.
OpenPOWER on IntegriCloud