des
acbcfa5fb2
include and whitespace cleanup.
2008-10-20 16:48:18 +00:00
delphij
4360de0fd4
- License change to a less restrictive one;
...
- ANSIfy;
- Convert do {} while loop -> while {} for clarity;
- Sync RCS ID with OpenBSD;
Obtained from: OpenBSD
2008-10-19 10:11:35 +00:00
delphij
84a6bd24ee
Further simplify the code.
...
Submitted by: Christoph Mallon <christoph.mallon gmx.de>
2008-10-19 09:10:44 +00:00
kientzle
88da8906fe
Add test to verify ACL restores on FreeBSD, verify kern/128203 (mtime
...
restore fails if ACL provided), apply patch from kern/128203, and verify fix.
PR: kern/128203
Submitted by: Udo Schweigert
MFC after: 3 days
2008-10-19 00:18:44 +00:00
kientzle
e2204b1f39
Style: Mark private data 'static', correct an old comment.
...
MFC after: 3 days
2008-10-19 00:13:57 +00:00
delphij
cae7e20d60
Use strlcpy() in !localized case to avoid the -1's.
2008-10-17 21:29:05 +00:00
delphij
767e2acdc7
Use strlcpy() when we mean it.
2008-10-17 21:21:14 +00:00
delphij
d3b188efba
Reduce code duplication: use calloc() intead of malloc()
...
and memset afterward.
2008-10-17 20:11:28 +00:00
delphij
0c0113fdef
_kvm_malloc allocates memory through calloc() which
...
returns zeroed memory, so don't redo the initialization.
2008-10-17 20:09:00 +00:00
netchild
34697cecc7
MTC r183949:
...
Allow to define MALLOC_PRODUCTION with a make variable instead of polluting
the global CFLAGS.
Reviewed by: jasone
2008-10-17 08:30:20 +00:00
raj
556a646598
Let libstand(3) build on ARM.
...
This is a pre-requisite for loader(8) + U-Boot support library on this arch.
2008-10-14 09:53:47 +00:00
jkoshy
62245b8648
- Sparsely number enumerations 'pmc_cputype' and 'pmc_event' in order to
...
reduce ABI disruptions when new cpu types and new PMC events are added
in the future.
- Support alternate spellings for PMC events. Derive the canonical
spelling of an event name from its enumeration name in 'enum pmc_event'.
- Provide a way for users to disambiguate between identically named events
supported by multiple classes of PMCs in a CPU.
- Change libpmc's machine-dependent event specifier parsing code to
better support CPUs containing two or more classes of PMC resources.
2008-10-09 14:55:45 +00:00
jkoshy
b964421dc9
Correct a typo.
2008-10-06 10:34:44 +00:00
jkoshy
aa0d582606
- Add cross-references.
...
- Tweak -mdoc use.
2008-10-04 12:54:25 +00:00
jkoshy
61dadf8c5e
Add cross-references.
2008-10-04 12:53:08 +00:00
jkoshy
8382297f14
Cross-reference new manual pages.
2008-10-04 12:44:05 +00:00
jkoshy
8bf9e82033
- Cross-reference new manual pages.
...
- Spell new PMC class names correctly.
2008-10-04 12:35:02 +00:00
jkoshy
d53aeb488c
Add manual pages for performance measurement counters present in
...
Intel Atom(tm), Core(tm) and Core2(tm) CPUs.
2008-10-04 12:27:49 +00:00
ed
7ccb72cce6
Small cleanups to openpty().
...
- Pass O_NOCTTY to posix_openpt(2). This makes the implementation work
consistently on implementations that make the PTY the controlling TTY
by default.
- Call unlockpt() before opening the slave device. POSIX mentions that
de slave device should only be opened after grantpt() and unlockpt()
have been called.
- Replace some redundant code by a label.
In theory we could remove a lot of code from openpty() on FreeBSD
-CURRENT, because grantpt(), unlockpt() and revoke() are not needed in
our implementation. We'd better keep them there. This makes the code
still work with older FreeBSD releases and even makes it work on other
non-BSD operating systems.
I've compiled openpty() on Linux. You only need to remove the revoke()
call, because revoke() on Linux always returns -1. Apart from that, it
seems to work like it should.
Reviewed by: jhb
2008-10-03 09:42:50 +00:00
jkoshy
e753484473
- Document event numbers associated with event names.
...
- Document an event that was missed out earlier.
- Sort event names alphabetically.
2008-10-02 08:53:06 +00:00
jkoshy
e775ff8588
- Document event numbers.
...
- Sort event names.
2008-10-02 06:37:33 +00:00
jkoshy
4ab86caef8
-mdoc tweaks.
2008-10-02 06:21:07 +00:00
jkoshy
ea821fb99b
- Document event numbers.
...
- Correct misspellings of two event names.
2008-10-02 06:15:40 +00:00
jkoshy
7db8ef2245
Document event numbers alongside event names.
...
Requested by: Arun Sharma <arun at sharma-home dot net>
2008-10-02 04:46:00 +00:00
kib
c725244bd2
Add unistd.h to the getosreldate(3) manpage.
...
Update referenced example to include unistd.h per manpage.
Update example to be more style(9)-ish, silence warnings and add
FreeBSD id to the source file.
2008-09-30 11:25:55 +00:00
kientzle
18256ca193
Verify high-res birthtime support on FreeBSD.
...
MFC after: 30 days
2008-09-30 04:13:21 +00:00
kientzle
1f6b640a75
MfP4: restore birth time data to disk + more thorough tests for
...
time restore to disk.
MFC after: 30 days
2008-09-30 04:02:36 +00:00
kientzle
c7ce068f95
MfP4: Store/read birthtime data in pax format.
...
Submitted by: Pedro Giffuni
MFC after: 30 days
2008-09-30 03:57:07 +00:00
kientzle
6902e811f6
MfP4: Support for storing birthtime in archive_entry objects.
...
Submitted by: Pedro Giffuni
MFC after: 30 days
2008-09-30 03:53:03 +00:00
jhb
5ccde8cd26
Support for CPU sets is going to appear in 7.1 before 8.0.
...
MFC after: 3 days
2008-09-29 15:44:48 +00:00
nwhitehorn
1a71eb5c50
Fix some ifdef logic in the libc syncicache() bit that I somehow missed in the
...
last commit. Now it really can use a runtime-set cacheline size.
2008-09-24 01:06:11 +00:00
nwhitehorn
2a5e536b9e
Allow the cacheline size on PowerPC to be set at runtime. This is essential for
...
supporting 64-bit CPUs, which often have 128-byte cache lines instead of the
standard 32.
2008-09-24 00:28:46 +00:00
jkoshy
0d9d822db0
Document changes in behaviour due to sparse CPU numbering support.
2008-09-22 14:31:24 +00:00
sam
9c3d2ffcdf
add new build knobs and jigger some existing controls to improve
...
control over the result of buildworld and installworld; this especially
helps packaging systems such as nanobsd
Reviewed by: various (posted to arch)
MFC after: 1 month
2008-09-21 22:02:26 +00:00
rodrigc
fb5e3c1343
<osreldate.h> does not have a forward declration of getosreldate(), so
...
remove it from this man page.
MFC after: 3 days
2008-09-20 21:12:54 +00:00
emax
3776c76ac8
Move uuid_enc_le, uuid_dec_le, uuid_enc_be and uuid_dec_be symbols
...
into FBSD_1.1 section where they should be.
Pointed out by: kib, deischen
MFC after: 3 days
2008-09-19 15:52:56 +00:00
jkoshy
2fad7e6a9b
Keep symbols in sorted order.
2008-09-19 13:21:23 +00:00
jkoshy
27963af43f
Improve grammar.
2008-09-18 10:20:35 +00:00
jkoshy
2eb96d23a7
Document new PMC classes, capabilities and CPU kinds.
...
Improve typography.
2008-09-18 10:16:54 +00:00
kientzle
46af6c4ecf
MfP4: Generalize int64_t in the public headers to support compilers
...
which have a 64-bit integer type but don't provide standard C99 definitions.
2008-09-18 04:19:06 +00:00
kientzle
97219c55ce
Trying to distinguish different "versions" of mtree files was a silly idea.
...
Submitted by: Joerg Sonnenberger
2008-09-18 04:13:36 +00:00
jkoshy
8dda766e41
Whitespace fixes.
2008-09-17 04:13:14 +00:00
jkoshy
5dfb9467b3
Add event name aliases for Pentium PMCs.
2008-09-17 03:53:37 +00:00
jkoshy
1895a00fef
Replace PMC-dependent content with references to
...
the appropriate manual pages.
2008-09-16 16:58:24 +00:00
jkoshy
8d1b22f6ed
Build and install PMC-dependent manual pages.
2008-09-16 16:57:14 +00:00
jkoshy
deffb81337
Fix a typo.
2008-09-16 16:53:25 +00:00
jkoshy
9ec48f3bd4
Move PMC documentation to separate manual pages, one per PMC class.
2008-09-16 16:34:55 +00:00
jkoshy
253d17b642
Move TSC specific PMC information to its own manual page.
2008-09-16 16:29:41 +00:00
jkoshy
f145085b0d
Correct an event name alias: event "k7-dc-misses" does not support
...
a unitmask.
2008-09-16 14:13:03 +00:00
emax
220bf33ae2
Add uuid_enc,dec_le,be() functions to Symbol.map
...
Pointy hat goes to me.
MFC after: 3 days
2008-09-15 23:54:55 +00:00