HardenedBSD/lib
Joseph Koshy c5153e190b Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc.
Have pmcstat(8) and pmccontrol(8) use these APIs.

Return PMC class-related constants (PMC widths and capabilities)
with the OP GETCPUINFO call leaving OP PMCINFO to return only the
dynamic information associated with a PMC (i.e., whether enabled,
owner pid, reload count etc.).

Allow pmc_read() (i.e., OPS PMCRW) on active self-attached PMCs to
get upto-date values from hardware since we can guarantee that the
hardware is running the correct PMC at the time of the call.

Bug fixes:
 - (x86 class processors) Fix a bug that prevented an RDPMC
   instruction from being recognized as permitted till after the
   attached process had context switched out and back in again after
   a pmc_start() call.

   Tighten the rules for using RDPMC class instructions: a GETMSR
   OP is now allowed only after an OP ATTACH has been done by the
   PMC's owner to itself.  OP GETMSR is not allowed for PMCs that
   track descendants, for PMCs attached to processes other than
   their owner processes.

 - (P4/HTT processors only) Fix a bug that caused the MI and MD
   layers to get out of sync.  Add a new MD operation 'get_config()'
   as part of this fix.

 - Allow multiple system-mode PMCs at the same row-index but on
   different CPUs to be allocated.

 - Reject allocation of an administratively disabled PMC.

Misc. code cleanups and refactoring.  Improve a few comments.
2005-05-01 14:11:49 +00:00
..
bind Regenerate for 9.3.1 2005-03-17 08:39:12 +00:00
csu
libalias natd core dumps when -reverse switch is used because of a bug in 2005-04-05 13:04:35 +00:00
libarchive Fix broken ACL configuration on FreeBSD 4 and Linux. 2005-04-23 17:56:34 +00:00
libatm Enforce style.Makefile(5). 2005-04-22 18:57:32 +00:00
libautofs spell "file system" correctly 2005-01-24 20:01:28 +00:00
libbegemot
libbluetooth Fix typo in comments (spell Linux correctly) 2005-03-17 21:39:44 +00:00
libbsnmp Finish repo-copy of lib/libbsnmp/modules to usr.sbin/bsnmpd/modules. 2005-03-14 17:32:16 +00:00
libbz2
libc oops, we don't need previous change. 2005-05-01 12:37:12 +00:00
libc_r Increase the default stacksizes: 2005-02-28 17:15:31 +00:00
libcalendar
libcam Expand *n't contractions. 2005-02-13 22:25:33 +00:00
libcom_err
libcompat Expand contractions. 2005-02-13 23:45:54 +00:00
libcrypt Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
libdevinfo Fix typo in a comment. 2005-03-01 20:32:05 +00:00
libdevstat Use __func__ throughout devstat.c instead of defining a func_name 2005-04-26 15:02:01 +00:00
libdisk Merge two slice_type_name() functions. 2005-04-13 13:42:38 +00:00
libedit Expand contractions. 2005-02-13 23:45:54 +00:00
libexpat
libfetch Set the TCP_NODELAY socket option and clear TCP_NOPUSH in order to flush 2005-03-02 19:09:28 +00:00
libform
libftpio Fix typo. 2005-02-14 18:40:31 +00:00
libgeom
libgpib Use the correct variable name in ibsad() 2005-02-13 06:21:36 +00:00
libio
libipsec Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
libipx
libkiconv
libkse Remove the special _amd64_set_gsbase() code for #ifdef COMPAT_32BIT, now 2005-04-26 20:41:48 +00:00
libkvm Make kvm(3) aware of ki_jid field. 2005-03-20 10:37:56 +00:00
libmagic Clean up makefile. 2005-01-28 17:01:54 +00:00
libmd In light of the recent 2^69 operation collision-finding attack on SHA1, 2005-03-09 19:23:04 +00:00
libmenu
libmilter
libmp
libncp Standardize 2 error messages: start with lowercase letter. 2005-01-16 11:22:42 +00:00
libncurses
libnetgraph Make this compile with GCC4 by fixing a few signedness related warnings. 2005-04-26 14:25:11 +00:00
libngatm
libopie Enforce style.Makefile(5). 2005-04-22 18:57:32 +00:00
libpam Expand *n't contractions. 2005-02-13 22:25:33 +00:00
libpanel
libpcap
libpmc Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc. 2005-05-01 14:11:49 +00:00
libpthread Remove the special _amd64_set_gsbase() code for #ifdef COMPAT_32BIT, now 2005-04-26 20:41:48 +00:00
libradius
librpcsvc
libsbuf
libsdp Sort sections. 2005-01-20 09:17:07 +00:00
libsm Remove file no longer in 8.13.3 2005-02-14 02:41:41 +00:00
libsmb
libsmdb
libsmutil
libstand Sort sections. 2005-01-20 09:17:07 +00:00
libtacplus Fix most cases where the address of an int is passed to a function expecting a 2005-02-14 17:42:58 +00:00
libtelnet
libthr Remove COMPAT_32BIT, it is no longer needed. 2005-04-27 01:29:03 +00:00
libthread_db o Code cleanup, eliminate private thread id map, directly 2005-04-13 04:57:38 +00:00
libufs Fixed xrefs. 2005-01-21 10:35:40 +00:00
libugidfw Fix two typos in comments. 2005-04-23 02:20:35 +00:00
libusbhid Sort sections. 2005-01-20 09:17:07 +00:00
libutil Properly spell default in a comment. 2005-04-22 23:11:57 +00:00
libvgl Expand contractions. 2005-02-13 23:45:54 +00:00
libwrap
liby
libypclnt
libz Update zconf.h and gzio.c with changes from ZLib 1.2.1 to ZLib 1.2.2. 2005-04-24 22:04:34 +00:00
msun Revert the last change, the conversion from long double to double can raise 2005-04-28 19:45:55 +00:00
ncurses
Makefile Build libpmc on all architectures (FWIW :-) 2005-04-20 20:50:32 +00:00
Makefile.inc