summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* MFP4:jkoshy2005-06-302-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - pmcstat(8) gprof output mode fixes: lib/libpmc/pmclog.{c,h}, sys/sys/pmclog.h: + Add a 'is_usermode' field to the PMCLOG_PCSAMPLE event + Add an 'entryaddr' field to the PMCLOG_PROCEXEC event, so that pmcstat(8) can determine where the runtime loader /libexec/ld-elf.so.1 is getting loaded. sys/kern/kern_exec.c: + Use a local struct to group the entry address of the image being exec()'ed and the process credential changed flag to the exec handling hook inside hwpmc(4). usr.sbin/pmcstat/*: + Support "-k kernelpath", "-D sampledir". + Implement the ELF bits of 'gmon.out' profile generation in a new file "pmcstat_log.c". Move all log related functions to this file. + Move local definitions and prototypes to "pmcstat.h" - Other bug fixes: + lib/libpmc/pmclog.c: correctly handle EOF in pmclog_read(). + sys/dev/hwpmc_mod.c: unconditionally log a PROCEXIT event to all attached PMCs when a process exits. + sys/sys/pmc.h: correct a function prototype. + Improve usage checks in pmcstat(8). Approved by: re (blanket hwpmc)
* Use 'manual page' instead of 'man page' for consistency.hmp2005-06-302-2/+2
| | | | Approved by: re (hrs)
* Tidy up the markup.ru2005-06-301-214/+285
| | | | Approved by: re (blanket manpages)
* Match _kvm_kvatop to it's prototype in kvm_i386.c. This unbreaksps2005-06-301-1/+1
| | | | | | the build. Approved by: re
* Clean out the leftovers from the i386_set_gsbase() TLS conversion.peter2005-06-295-120/+17
| | | | | | | | 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
* Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop()peter2005-06-299-99/+426
| | | | | | | | | | | | | | | | | | | | | returned an lseek offset in a "u_long *" value, which can't express >4GB offsets on 32 bit machines (eg: PAE). Change to "off_t *" for all. Support ELF crashdumps on i386 and amd64. Support PAE crashdumps on i386. This is done by auto-detecting the presence of the IdlePDPT which means that PAE is active. I used Marcel's _kvm_pa2off strategy and ELF header reader for ELF support on amd64. Paul Saab ported the amd64 changes to i386 and we implemented the PAE support from there. Note that gdb6 in the src tree uses whatever libkvm supports. If you want to debug an old crash dump, you might want to keep an old libkvm.so handy and use LD_PRELOAD or the like. This does not detect the old raw dump format. Approved by: re
* - Tidy up the markup.ru2005-06-241-190/+402
| | | | | | | | | | - Clarify the sections on "Cascading P4 PMCs" and "Precise Event Based Sampling" (1) - Bump document date. Reviewed by: jkoshy Submitted by: jkoshy (1) Approved by: re (blanket)
* Tidy up the markup.ru2005-06-241-12/+17
| | | | | Reviewed by: jkoshy Approved by: re (blanket)
* Set ki_tdev to NODEV rather than NULL.peter2005-06-241-1/+1
| | | | Approved by: re
* Fix off-by-one nanosecond bug in macro TIMESPEC_ADD.davidxu2005-06-221-1/+1
| | | | | | Reviewed by: deischen Approved by: re (dwhite) MFC after : 4 days
* Fix off-by-one nanosecond in macro TIMESPEC_ADD.davidxu2005-06-222-2/+2
| | | | | | Reviewed by: deischen Approved by: re (dwhite) MFC after : 4 days
* Clear devinfo_generation in devinfo_free() since we are freeing all of thejhb2005-06-221-0/+1
| | | | | | | | | | | | | cached state. Otherwise, a subsequent call to devinfo_init() would succeed without reading the device tree from the kernel thinking that the cached state was up to date since the generation count was the same. However, since the cached state was actually free'd, attempts to examine the tree after the second devinfo_init() would fail. Reported by: Juho Vuori juho dot vuori at kepa dot fi Submitted by: Stefan Farfeleder stefan at fafoe dot narf dot at Approved by: re (dwhite) MFC after: 1 week
* Add the functions _Qp_cmp() and _Qp_cmpe() as described in the Sparcstefanf2005-06-211-8/+11
| | | | | | | | Compliance Definition. On sparc64, GCC emits _Qp_cmp() calls for its __builtin_isfoo() functions which are used for C99's isfoo() macros. Approved by: re(dwhite) PR: 73782
* Update for OpenPAM Figwort.des2005-06-172-1/+6
| | | | Approved by: re (kensmith)
* Markup nit.ru2005-06-161-1/+1
| | | | Approved by: re (blanket)
* Fixed compile warning.ru2005-06-161-2/+0
| | | | Approved by: re (blanket)
* Removed redundnt empty line.ru2005-06-161-1/+0
| | | | Approved by: re (blanket)
* Markup fixes.ru2005-06-163-10/+17
| | | | Approved by: re
* Assorted markup fixes.ru2005-06-1517-51/+85
| | | | Approved by: re
* Remove incorrect BUGS entry: libthr does support process-scope threadrwatson2005-06-151-5/+0
| | | | | | | | scheduling. MFC after: 1 week Submitted by: davidxu Approved by: re (scottl)
* When IPC_NOWAIT is set and there is no message, msgrcv() failsru2005-06-141-3/+3
| | | | | | | | with errno set to ENOMSG. PR: docs/82217 Submitted by: delphij Approved by: re (blanket)
* Don't use a cast as an lvalue.des2005-06-131-3/+3
| | | | | | | | Add a redundant test to make it painfully obvious to the reader that this code does not support IPv6. Approved by: re (dwhite) MFC after: 1 week
* Add a stub libthr(3) man page to document what it is and why, as well asrwatson2005-06-112-0/+74
| | | | | | | | | to point at libmap.conf(5). This will help answer questions about what and why it is, although not in great detail. Approved by: re (scottl) MFC after: 1 week MFC note: When MFC'd, don't MFC mention of work not yet MFC'd.
* Remove rexecd(8), a server that implements a particularly insecurenectar2005-06-101-2/+0
| | | | | | | 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.
* Fix the wording in this man page so that itrodrigc2005-06-101-2/+4
| | | | | | | | | | reflects the actual behavior of the API for listing extended attributes. PR: docs/79261 Submitted by: rodrigc Reviewed by: rwatson, kan Approved by: das (mentor)
* Use appropriate error codes for each facility instead of just PAM_AUTH_ERR.des2005-06-101-4/+4
| | | | Noticed by: pjd
* Fix tinderbox breakage.jkoshy2005-06-101-4/+13
|
* MFP4:jkoshy2005-06-097-753/+1833
| | | | | | | | | | | | | | | | - Implement sampling modes and logging support in hwpmc(4). - Separate MI and MD parts of hwpmc(4) and allow sharing of PMC implementations across different architectures. Add support for P4 (EMT64) style PMCs to the amd64 code. - New pmcstat(8) options: -E (exit time counts) -W (counts every context switch), -R (print log file). - pmc(3) API changes, improve our ability to keep ABI compatibility in the future. Add more 'alias' names for commonly used events. - bug fixes & documentation.
* Revert the commits that made libssh an INTERNALLIB; they caused too muchdes2005-06-071-2/+1
| | | | | | trouble, especially on amd64. Requested by: ru
* Add a new source file in sendmail 8.13.4gshapiro2005-06-071-1/+1
|
* Fix libssh dependency.des2005-06-061-1/+2
|
* Minor clean up for flags restoration: Use fchflags/lchflags whenkientzle2005-06-044-13/+52
| | | | | available, stub out flags restore on platforms that don't support it, update autoconf to probe for fchflags and lchflags support.
* Sort archive_entry_ctime/archive_entry_ctime_nsec correctly.kientzle2005-06-041-13/+13
|
* Support libarchive with C++ by adding appropriate conditionalkientzle2005-06-042-4/+25
| | | | extern "C" declarations.
* Fix one error in the example usage of the archive_write API and fillkientzle2005-06-041-27/+52
| | | | | in a few missing details. The example code here is now a complete, functioning example program.
* Update .Dd value.alc2005-06-041-1/+1
|
* Eliminate the original method of requesting notification of aio_read(2) andalc2005-06-041-9/+0
| | | | | | | | | | | | | | | | | aio_write(2) completion through kevent(2). This method does not work on 64-bit architectures. It was deprecated in FreeBSD 4.4. See revisions 1.87 and 1.70.2.7. Change aio_physwakeup() to call psignal(9) directly rather than indirectly through a timeout(9). Discussed with: bde Correct a bug introduced in revision 1.65 that could result in premature delivery of a signal if an lio_listio(2) consisted of a mixture of direct/raw and queued I/O operations. Observed by: tegge Eliminate a field from struct kaioinfo that is now unused. Reviewed by: tegge
* Release n_hibma's maintainership due to his ENOTIME.schweikh2005-06-041-2/+0
| | | | Discussed with, okayed, authorized, requested by, on behalf of: n_hibma (MAINTAINER)
* Fix the source path.ru2005-06-041-1/+1
|
* Missed rwatson's redundancyimp2005-06-031-2/+0
|
* Remove libz and pppd redundancyimp2005-06-031-2/+0
|
* bump SHLIB_MAJOR as libpcap refers getnetbyname(3).ume2005-06-031-1/+1
| | | | Noticed by: ru
* Match sys/boot in ensure GCC does not use x86 FP registers in integer code.obrien2005-06-031-1/+2
| | | | Submitted by: Pawel Worach <pawel.worach@gmail.com>
* reflect type change of n_net and getnetbyaddr(3).ume2005-06-031-2/+2
|
* - Remove padding for ABI compatibility of n_net member from structume2005-06-034-17/+1
| | | | | | | | | | | | | netent. - Change 1st argument of getnetbyaddr() to an uint32_t on 64 bit arch as well to confirm to POSIX-2001. These changes break ABI compatibility on 64 bit arch. There is similar padding issue for ai_addrlen of struct addrinfo. However, it is leaved as is for now. Discussed on: arch@, standards@ and current@ X-MFC after: never
* Provide missing implementations for archive_entry_ctime() andscottl2005-06-011-0/+13
| | | | archive_entry_ctime_nano()
* Remove the C99-specific __func__ that is one of the few barrier tokientzle2005-06-017-37/+39
| | | | | | | | | compiling on IRIX and Solaris. Remove the "archive_check_magic" macro that existed only to provide __func__ to the underlying __archive_check_magic function. Thanks to: Darin Broady MFC after: 14 days
* <Ooops> Two lines got dropped from the previous commit. Apologies.kientzle2005-06-011-0/+2
| | | | MFC after: 14 days
* A minor refinement to "pax" output: Remove suid/sgid/sticky bitskientzle2005-06-013-0/+38
| | | | | | | | from mode before using mode for extended attributes entry, copy mtime/atime/ctime to extended attributes entry so it's a little more clear that it corresponds to the like-named regular entry. MFC after: 14 days
* Initialise `hex' at the top of the file, ISO C requires that an array withstefanf2005-05-311-6/+5
| | | | internal linkage has a complete type.
OpenPOWER on IntegriCloud