HardenedBSD/usr.sbin
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
..
ac
accton
acpi Fix a small style problem and add a __packed pragma for safety. 2005-02-17 21:09:26 +00:00
adduser - Act according to the documentation (man page): 2005-04-28 12:44:02 +00:00
amd Generate locale-agnostic configuration date. 2005-02-16 21:02:50 +00:00
ancontrol Expand *n't contractions. 2005-02-13 22:25:33 +00:00
apm Expand *n't contractions. 2005-02-13 22:25:33 +00:00
apmd POWERSTATECHANGE was misspelled. 2005-03-24 01:26:40 +00:00
arlcontrol
arp
asf
atm
authpf
bluetooth
boot0cfg Document how to make boot0cfg work on mounted disks. 2005-04-07 20:04:55 +00:00
boot98cfg
bootparamd
bsnmpd Enable tcp-wrapper support in the SNMP daemon. 2005-04-26 16:49:15 +00:00
btxld Fix the same problem that was fixed in rev. 1.6 and got reintroduced 2005-02-19 21:32:21 +00:00
burncd
cdcontrol
chkgrp
chown Expand *n't contractions. 2005-02-13 22:25:33 +00:00
chroot
ckdist
config Ask that "make cleandepend" be run before "make depend", now that 2005-04-22 17:42:50 +00:00
cron Fix parsing of '0' and non-alphanumerics in steps. Previously, an 2005-02-14 14:09:21 +00:00
crunch
ctm Expand *n't contractions. 2005-02-13 22:25:33 +00:00
daemon
dconschat Fix typos in comments. 2005-03-11 14:20:09 +00:00
devinfo
digictl
diskinfo
dnssec-keygen
dnssec-signzone
editmap
edquota
eeprom
elf2exe
extattr
extattrctl
faithd plugged memory leak 2005-04-21 13:21:48 +00:00
fdcontrol
fdformat
fdread Expand *n't contractions. 2005-02-13 22:25:33 +00:00
fdwrite Expand *n't contractions. 2005-02-13 22:25:33 +00:00
flowctl Implement "verbose" optional keyword for "show" command. This is analog 2005-03-23 09:40:18 +00:00
fwcontrol
getfmac
getpmac
gstat
i4b
ifmcstat
inetd
iostat Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ip6addrctl
IPXrouted
jail Fix spelling errors. 2005-04-30 09:26:22 +00:00
jexec
jls
kbdcontrol
kbdmap
kernbb
keyserv
kgmon
kgzip
kldxref Doh, erase unused variable... 2005-03-03 06:38:00 +00:00
lastlogin
lpr MFS5: Minor style(9) tweak. 2005-02-22 02:56:42 +00:00
lptcontrol
mailstats
mailwrapper
makemap
manctl
memcontrol Correct formatting of pointers in the listing by using "0x%" PRIx64 instead of 2005-03-29 20:17:47 +00:00
mergemaster Expand contractions. 2005-02-13 23:45:54 +00:00
mixer Add the -S flag which produces the -s output without 2005-04-13 07:11:54 +00:00
mld6query
mlxcontrol
mount_nwfs Expand *n't contractions. 2005-02-13 22:25:33 +00:00
mount_portalfs Remove wrong -unfilled .Bd argument implied by -literal. 2005-04-11 16:56:52 +00:00
mount_smbfs
mountd Remove unused variables. 2005-04-09 14:59:10 +00:00
moused Support for the GTCO Digipad. 2005-04-13 07:25:45 +00:00
mptable Expand *n't contractions. 2005-02-13 22:25:33 +00:00
mrouted Expand contractions. 2005-02-15 09:27:00 +00:00
mtest
mtree Adds sha256 support. While it is a good idea to also add sha384 and 2005-03-29 11:44:17 +00:00
named
named-checkconf
named-checkzone
named.reload
ndiscvt Throw the switch on the new driver generation/loading mechanism. From 2005-04-24 20:21:22 +00:00
ndp
newsyslog Add the -N option to not rotate any files. This is to be used in 2005-03-03 15:47:32 +00:00
nfsd
ngctl
nghook
nologin
ntp Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ofwdump
pccard Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pciconf add some additional pci classes and sub-classes.. 2005-03-26 20:31:09 +00:00
pcvt Expand contractions. 2005-02-13 23:45:54 +00:00
periodic
pkg_install Change the PATH for pkg_add to be the same used for pointyhat package builds. 2005-03-19 19:20:19 +00:00
pmccontrol Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc. 2005-05-01 14:11:49 +00:00
pmcstat Add convenience APIs pmc_width() and pmc_capabilities() to -lpmc. 2005-05-01 14:11:49 +00:00
pnpinfo
powerd Drop the default running value to 60% from 80%. Testing shows that we 2005-04-10 20:42:55 +00:00
ppp Update the manual page for ppp(8). 2005-04-28 22:31:37 +00:00
pppctl Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pppd
pppstats
praliases
procctl
pstat Remove unused variables. 2005-04-09 14:59:10 +00:00
pw Remove unused variables. 2005-04-09 14:59:10 +00:00
pwd_mkdb Add endianness support. 2005-02-28 21:05:30 +00:00
quot Remove unused variables. 2005-04-09 14:59:10 +00:00
quotaon
rarpd
raycontrol Expand *n't contractions. 2005-02-13 22:25:33 +00:00
repquota
rip6query
rmt
rndc
rndc-confgen
route6d
rpc.lockd Consumers of nfslockdans() seems to think it should return 0 on success, so 2005-03-16 23:55:48 +00:00
rpc.statd
rpc.umntall Expand *n't contractions. 2005-02-13 22:25:33 +00:00
rpc.yppasswdd Expand contractions. 2005-02-13 23:45:54 +00:00
rpc.ypupdated
rpc.ypxfrd Expand *n't contractions. 2005-02-13 22:25:33 +00:00
rpcbind
rrenumd Expand contractions. 2005-02-15 09:27:00 +00:00
rtadvd
rtprio
rtsold
rwhod Fix most cases where the address of an int is passed to a function expecting a 2005-02-14 17:42:58 +00:00
sa Expand contractions. 2005-02-13 23:45:54 +00:00
sade Add ntp.jst.mfeed.ad.jp and ntp1.v6.mfeed.ad.jp (IPv6 only) to 2005-05-01 08:19:54 +00:00
sendmail
setfmac
setkey
setpmac
sicontrol
sliplogin Remove an unused variable and a useless getuid() declaration. 2005-04-09 15:00:51 +00:00
slstat
smbmsg
spkrtest
spray
sysinstall Add ntp.jst.mfeed.ad.jp and ntp1.v6.mfeed.ad.jp (IPv6 only) to 2005-05-01 08:19:54 +00:00
syslogd Add -S option which allows to change the pathname of the privileged 2005-04-13 03:19:41 +00:00
tcpdchk
tcpdmatch
tcpdrop o Improve the example a bit. 2005-03-14 14:12:29 +00:00
tcpdump
timed
traceroute
traceroute6
trpt Expand *n't contractions. 2005-02-13 22:25:33 +00:00
tzsetup
ugidfw
usbd
usbdevs
vidcontrol
vipw
vnconfig
watch
watchdogd When disarming a watchdog by using an interval of WD_TO_NEVER a non-zero 2005-03-19 01:46:37 +00:00
wicontrol Expand *n't contractions. 2005-02-13 22:25:33 +00:00
wlconfig
yp_mkdb Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ypbind Expand *n't contractions. 2005-02-13 22:25:33 +00:00
yppoll
yppush (handler): When exitting upon an abnormal signal, yppush_exit() should not 2005-04-12 15:02:57 +00:00
ypserv Use socklen_t where appropriate. 2005-03-11 14:17:12 +00:00
ypset
zic Expand contractions. 2005-02-13 23:45:54 +00:00
zzz
Makefile all the ipfilter tools are now built from sbin/Makefile, so remove them from 2005-04-25 19:04:12 +00:00
Makefile.inc