joerg
4c7714ac9f
Fix format strings to deal with 64bit time_t.
2012-03-01 22:31:48 +00:00
joerg
dfa4e075c4
Use uintmax_t for freqency computations to avoid differences between
...
platforms.
2012-02-29 23:34:01 +00:00
jmmv
cfa157d760
Properly find atf configuration files in the source tree. My previous
...
change dealt properly with etc.tgz only. Addresses PR bin/45870.
2012-02-29 02:40:28 +00:00
jmmv
7e5c66f341
Populate /etc/atf with any missing files. Fixes PR bin/45870.
2012-02-27 17:56:14 +00:00
joerg
e9d4b22f91
Expand workaround for .so usage to do the chdir call just before
...
starting parsing, not during the tree iteration. This gives it a chance
to work.
2012-02-27 16:51:06 +00:00
christos
46641ee3e7
remove extra rule that got merged...
2012-02-26 22:04:42 +00:00
christos
394473e707
- make each element of a variable hold a type
...
- change get_type to take an index, so we can get the individual types of
each element (since primitive elements can be in lists)
- make port_range primitive
- add a routine to convert a variable of primitives to a variable containing
- only port ranges.
2012-02-26 21:50:05 +00:00
rmind
2d942d9d58
Simplify slightly: merge iface into addr_or_iface, use it in filt_addr.
2012-02-26 21:14:50 +00:00
apb
90e1171c17
quote SRC_DIR and DEST_DIR everywhere. Also wrap some long lines.
2012-02-22 16:42:07 +00:00
apb
0196d40adb
Fix a call to pwd_mkdb in the case that DEST_DIR is the empty string.
2012-02-22 16:27:38 +00:00
nakayama
9e8270494c
Pass -d option to pwd_mkdb(8) in order to make databases at proper location.
2012-02-21 12:31:18 +00:00
joerg
50a2d17c77
SQLite doesn't use the FTS index for equal ops, so force it to do a FTS
...
search first. Drops run time by a factor of 6 for "whatis man".
Found by Abhinav Upadhyay.
2012-02-20 18:27:30 +00:00
joerg
fdbd00e5b0
Add reference to whatis(1). From Abhinav Upadhyay.
2012-02-20 18:25:51 +00:00
rmind
15d58f91b8
- Add NPF_DECISION_BLOCK and NPF_DECISION_PASS. Be more defensive in the
...
packet handler. Change the default policy to block when the config is
loaded and set it to pass when flush operation is performed.
- Use kmem_zalloc(9) instead of kmem_alloc(9) in few places.
- npf_rproc_{create,release}: use kmem_intr_{alloc,free} as the destruction
of rule procedure might happen in the interrupt handler (under a very rare
condition, if config reload races with the handler).
- npf_session_establish: check whether layer 3 and 4 are cached.
- npfctl_build_group: do not make groups as passing rules.
- Remove some unecessary header inclusion.
2012-02-20 00:18:19 +00:00
christos
d89c1403e3
m68k does not have or need db_machdep.c
2012-02-18 17:56:49 +00:00
njoly
91f381dd41
Use msg for indentation.
2012-02-18 17:49:28 +00:00
christos
0dbbdb2346
revert sparc64 hack
2012-02-18 15:57:06 +00:00
martin
da57bcbaec
Fix build for sparc64
2012-02-17 12:24:13 +00:00
apb
44652a5537
Add "pwd_mkdb" item, which checks whether /etc/pwd.db is in the
...
new format, and runs "pwd_mkdb -V 1 /etc/master.passwd" to fix it.
2012-02-17 07:51:20 +00:00
joerg
bdc4335e48
Add support for compressed man pages in all the usual formats.
2012-02-16 20:58:55 +00:00
christos
3ffab2efa8
use -n too, so that we don't get a dup note.
2012-02-16 20:36:13 +00:00
christos
dd63132492
- make this work for arm32
...
- factor out duplicated ifdefs
2012-02-16 02:37:43 +00:00
joerg
56cd811802
Add support for apropos -s like in the old apropos. Fix capitalisation.
...
Add note about optional quotation. From Abhinav Upadhyay.
2012-02-15 23:53:13 +00:00
joerg
c701d37453
Also handle hyphen replacement if it was used as plain input and no
...
backslash sequence was used at all in the line.
2012-02-15 23:36:10 +00:00
joerg
79cdc1651d
Be a bit more friendly to man pages using the roff .so command by
...
changing the current directory to the parent of the man -p entry, e.g.
/usr/share/man for /usr/share/man1.
2012-02-15 23:35:00 +00:00
riz
f8a1d7977c
Back out the recent import of IPFilter 5.1.1 for the upcoming branch,
...
which will now have IPFilter 4.1.34. IPFilter 5.1.1 will be restored
post-branch.
ok: core, releng.
2012-02-15 17:55:03 +00:00
joerg
d99b3bd499
Clean up cat pages that are older than the corresponding man pages.
...
Remove cat page directories that are empty.
2012-02-15 13:01:00 +00:00
joerg
6d11572944
Mark usage as __dead.
2012-02-14 17:33:38 +00:00
dholland
7da608ca9c
Update dangling references to quotactl(2), mostly now libquota(3), and to
...
quotactl(8), mostly now quotarestore(8). ok riz@
2012-02-13 19:53:24 +00:00
wiz
1c18e63ac7
Bump date for previous.
2012-02-13 13:37:45 +00:00
spz
5091f3689d
fix resource leaks and NULL uses found by Coverity scan.
...
Releng-ok by riz
2012-02-13 07:40:24 +00:00
dholland
2a4bf12d53
Remove quotactl(8). Successor for backup purposes is quotarestore(8).
...
Note that as of this writing the tool continues to work with the old
proplib-xml packet interface against the new libquota(3), so anyone
who has a use for it can bring it back from the Attic and/or create a
pkgsrc package.
Approved by releng for the freeze, and specifically okayed by core a
couple months ago.
2012-02-13 01:43:22 +00:00
dholland
aa498c6e1e
Add quotadump(8), which is a link to repquota, and quotarestore(8),
...
which is new. Includes man page updates. Approved by releng for
freeze.
2012-02-13 01:35:06 +00:00
ast
bdf0a8da40
Use "NetBSD 6.0" and not "NetBSD 6" and sound less like a broken record.
...
Add note where the actual example is because that's where it's expected.
Part of earlier commit ok-ed by releng@
2012-02-11 07:27:25 +00:00
njoly
ca0e389587
Fix makemandb section.
2012-02-10 16:57:44 +00:00
wiz
9328365c03
Remove trailing whitespace. Put macro arguments on same line.
2012-02-10 16:25:47 +00:00
ast
7964aa2984
Update the amd64 and i386 examples to use /usr/mdec/bootxx_ffsv2,
...
i.e. DEFAULT_UFS2 as src/distrib/utils/sysinst/bsddisklabel.c does
since post-NetBSD5. This avoids rendering an i386 or amd64 system
unbootable if the given example is thoughtlessly cut-and-pasted on
a NetBSD6.x system (been there, done that ;-) Qualify the descriptions
of /usr/mdec/bootxx_ffsv{1,2} along those lines.
Fixed a small typo in comment of distrib/utils/sysinst/arch/amd64/md.h.
Ok by releng@
2012-02-09 18:35:44 +00:00
riz
af51433848
Various English usage, spelling and markup fixes for envstat(4)-related
...
things, from Snader_LB.
2012-02-09 18:10:26 +00:00
joerg
c725fe53d5
Kill bad magic invocation.
2012-02-07 23:03:34 +00:00
joerg
ee6ce4b9fa
getopt returns int, not char.
2012-02-07 22:59:32 +00:00
wiz
0409c3f975
No leading zeroes in date.
2012-02-07 21:02:33 +00:00
wiz
1507c42b9a
No leading zeroes in date. New sentence, new line.
2012-02-07 21:02:23 +00:00
joerg
329b37d502
Fix C&P error with $NetBSD$
2012-02-07 19:17:16 +00:00
joerg
410d0f4380
Import the new apropos/whatis.
...
This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.
The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
2012-02-07 19:13:24 +00:00
rmind
4d11ce4d7b
Fix the family option in the grammar and example.
2012-02-06 00:41:36 +00:00
rmind
d47695fbde
- Handle NPF rule procedures in the parser and thus re-enable them.
...
- Few small updates to the man page.
2012-02-06 00:37:52 +00:00
dholland
430a952206
Remove unneeded #include.
2012-02-05 14:14:44 +00:00
rmind
f7fec0d2a4
Multiple NPF fixes, add better error reporting from kernel side, add some
...
asserts, bump the version.
2012-02-05 00:37:13 +00:00
joerg
520acca96b
Mark perfused_panic as dead. Canonical form of infinite loops is
...
for (;;). Remove completely redundant NOTREACHED markers.
2012-02-04 18:36:30 +00:00
pgoyette
460ef57533
Add missing period at end of sentence.
...
ok releng@
2012-02-04 18:25:53 +00:00
manu
9724ab82d4
Make sure perfused exit when the filesystem crashed, so that unmount
...
is done. Failure to do so caused deadlocks, with operation that
held a lock on the root vnode and got stuck in perfused forever.
Approved by releng.
2012-02-03 15:54:15 +00:00
yamt
e119700586
use a correct macro.
...
releng@ ok
2012-02-03 05:06:51 +00:00
matt
ded3ab848b
Make this compile on vax (uninitialized use warning).
2012-02-02 03:00:48 +00:00
dholland
a577f74f5b
libquota no longer requires libprop. Also remove some other no-longer-used
...
.PATH'd-in bits from repquota.
2012-02-01 17:53:01 +00:00
dholland
fb3f26c0cf
Simplify elaborate calls to quota_check_limit().
2012-02-01 17:48:10 +00:00
wiz
243adb95c2
Bump date for previous.
2012-02-01 09:30:01 +00:00
dholland
f9735fd481
Reimplement repquota -x to print in tabular form instead of XML.
2012-02-01 05:12:45 +00:00
dholland
f2da15f559
Remove unwanted decl of the old quotactl syscall.
2012-02-01 05:07:08 +00:00
mlelstv
780696aa56
Enable build of crash(8) for m86k platforms.
2012-01-31 21:17:57 +00:00
christos
109f5fba24
- remove dup included files
...
- use intptr_t instead of long where appropriate
- use perfused_ instead of perfuse_ for our own functions.
- more static
Fixes namespace collision of perfuse_mount with this and libperfuse.
2012-01-30 22:49:03 +00:00
dholland
56581d9c24
Needs its own copy of quotaprop.[ch] too.
2012-01-30 19:31:31 +00:00
dholland
2d9ddf6e73
Make it build in userlevel and hook it in.
2012-01-30 19:28:11 +00:00
dholland
89dd9c69f6
Add a copy of the proplib interpreter here so this program will
...
continue to work after it's removed from the kernel. This copy is
unchanged from sys/kern/vfs_quotactl.c except that I've preserved a
cop of the old rcsid.
2012-01-30 19:23:49 +00:00
dholland
3e2a4d1109
Remove dependence on quotaprop.h, also quotautil.c (no longer used).
...
Like repquota, compile in the number of object types for now because
making it support an arbitrary number would take some hacking.
2012-01-30 19:19:20 +00:00
dholland
6a92ecbca0
Rely on libquota for fallback to direct access of old-style quota files.
...
Keep the code around in #if 0 blocks for now, just in case some of the
logic might turn out to be wanted in libquota.
2012-01-30 19:18:36 +00:00
dholland
9aec0f661d
Remove references to -D option.
2012-01-30 19:17:29 +00:00
dholland
eba182257f
Don't use the old getvfsquota() here.
2012-01-30 19:16:36 +00:00
dholland
5f0d2c5f55
Add quota_quotaon() and quota_quotaoff(). Use them in quotaon(8).
2012-01-30 16:45:13 +00:00
darrenr
14e440d33e
New files imported from IPFilter 5.1.1 need to be added.
2012-01-30 16:13:21 +00:00
wiz
f4788d8f8e
New sentence, new line. Remove trailing whitespace.
...
Bump PKGREVISION for previous.
2012-01-29 11:32:23 +00:00
dholland
60d82a4ef2
Fix unsightly botch in repquota's heading output.
2012-01-29 07:23:52 +00:00
dholland
f0f8fe3be2
Rename static inline "helper" functions:
...
ufsclass2qtype -> quota_idtype_to_ufs
qtype2ufsclass -> quota_idtype_from_ufs
The reason for the direction of "ufs" changing is that the old names
were among the symbols using "ufs" to mean "fs-independent". So the
old names were for translating "ufsclass" (fs-independent quota id
type) to "qtype" (ufs-specific quota id type) and vice versa.
These functions are used in only two places, both of which are
inappropriate, so at some point they should probably be removed.
They're also identity transformations so not particularly helpful,
unless one were to make a careful and concerted effort to distinguish
the ufs quota code numbers from the fs-independent ones. This has not
been done and is probably impossible without support from a program
verifier, and maybe not even then.
They are static inline, so no compat concerns arise.
Also adjust the symbols they use to avoid <quota/quotaprop.h>.
2012-01-29 07:16:00 +00:00
dholland
7950da9e90
Change dqblk_to_quotaval() from quota1_subr.c to dqblk_to_quotavals(),
...
and pass in two single quotaval structs (for blocks and inodes)
instead of an array of (implicitly) QUOTA_NLIMITS quotaval structs
indexed by constants from quotaprop.h.
Note: because this code is used by COMPAT_50 as well as ufs, this
change requires a kernel version bump. (The code is also used by
edquota, but via .PATH so it's not ABI-sensitive there.)
2012-01-29 06:23:20 +00:00
manu
8fcbc70792
Improve FUSE trace facility
2012-01-29 06:22:01 +00:00
christos
f1cc09510d
Patch from Jung-uk Kim (jkim at FreeBSD dot org) to allow contents of multiple
...
directories to be merged to the current image.
2012-01-28 02:35:46 +00:00
dholland
738d51f0ef
attribute noreturn -> __dead
2012-01-25 01:28:40 +00:00
dholland
b483fd9867
More cleanup of repquota. For now we're going to compile in the number
...
of possible ID and object types, as making those numbers non-constant
requires a major rework.
This removes all dependence on quotaprop.h except for the code for
dumping the quota information as a blob of quota RPC XML packets. That
needs to go too and be replaced with a tabular dump format, but one
thing at a time.
2012-01-25 01:24:53 +00:00
jakllsch
c53184c92c
Ensure psshfs_node_read() completely reads all data before return.
...
Fixes file corruption in psshfs exposed with kernel MAXPHYS at 128KiB.
2012-01-20 22:07:58 +00:00
skrll
3ddf4f6f16
Support crash(8) on hppa.
2012-01-18 09:35:48 +00:00
skrll
145bbccc40
Remove workaround for old binutils.
2012-01-17 18:44:24 +00:00
joerg
5454e8a044
Rename perfuse_mount to not conflict with libperfuse. Mark it and
...
perfuse_trace as static.
2012-01-17 17:58:36 +00:00
christos
7f5fd4a5cd
PR/45842: Henning Petersen: compare fgets with NULL not 0
2012-01-16 17:38:16 +00:00
rmind
4b85474b41
- Expire all sessions on flush.
...
- Enable checking for zero mask in IP{4,6}MATCH after npfctl changes.
- Make locking symmetric for npf_ruleset_inspect().
- Sync function prototypes in npf(3) man page with reality.
- Rename NPF_TABLE_RBTREE to NPF_TABLE_TREE.
2012-01-15 00:49:47 +00:00
wiz
ee2d01f9ba
Sort sections. Uppercase CPU.
2012-01-14 00:59:56 +00:00
cegger
a3f6c06746
Support CPU microcode loading via cpuctl(8).
...
Implemented and enabled via CPU_UCODE kernel config option
for x86 and Xen Dom0.
Tested on different AMD machines with different
CPU families.
ok wiz@ for the manpages
ok releng@
ok core@ via releng@
2012-01-13 16:05:14 +00:00
christos
a079a21d6c
handle variables that contain variables
2012-01-12 20:41:33 +00:00
joerg
4c70cdf100
Use __dead
2012-01-10 23:39:11 +00:00
skrll
71f408f0ea
Update for hp700. Bump date.
2012-01-09 19:40:09 +00:00
skrll
4d8cde761c
s/ISO9660/ISO 9660/ for consistency with rest of man page.
2012-01-09 19:39:18 +00:00
dholland
1d7acc6b80
"quotaclass" -> "idtype". After lengthy wrangling on the mailing lists
...
the best conclusion for naming was to give up on "classes" and "types"
and use "idtype" for users vs. groups and "objtype" for blocks vs. files.
2012-01-09 15:44:42 +00:00
dholland
e5303f01df
Use quota_put() and quota_delete() to update quotas instead of making
...
quota proplib RPCs.
2012-01-09 15:44:05 +00:00
dholland
914924d7f5
Remove the explicit fallback direct file access code from repquota and
...
rely on libquota.
2012-01-09 15:42:37 +00:00
dholland
ded45e2c70
Make repquota use the libquota cursor interface.
2012-01-09 15:40:47 +00:00
dholland
b5dd1f89ec
More work on repquota.
...
- open quotahandles, pass them around, use them for metadata
- split up some of the proplib code
2012-01-09 15:38:59 +00:00
dholland
62c8373cdf
Begin cleaning up repquota.
2012-01-09 15:38:20 +00:00
skrll
008d551992
Make it an error for the partition to exceed the PDC limit.
...
Inspired by PR/45742
2012-01-09 11:44:53 +00:00
rmind
ee48c623f2
npfctl_ncgen_putptr: use correct format for size_t.
2012-01-09 01:47:09 +00:00
christos
058e423965
update.
2012-01-08 22:14:55 +00:00
rmind
d3c56566f0
Full rewrite of npfctl(8) parser and rework of n-code generation part.
...
Fixes most of the known bugs and issues with the utility. Note: rule
procedures are not yet (as we want to make them fully modular).
Huge thanks to Martin Husemann who wrote the parser and Christos Zoulas
who wrote intermediate structures and helped to complete the work.
2012-01-08 21:34:21 +00:00
yamt
9753d46d1c
install tprof related commands and man pages.
2012-01-04 16:25:13 +00:00
drochner
8fd6dadaf8
include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland
...
where possible, for consistency and compatibility to FreeBSD
(exception: KAME specific statistics gathering in netstat(1) and systat(1))
2012-01-04 16:09:40 +00:00
drochner
3712f81ced
-consistently use "char *" for the compiled policy buffer in the
...
ipsec_*_policy() functions, as it was documented and used by clients
-remove "ipsec_policy_t" which was undocumented and only present
in the KAME version of the ipsec.h header
-misc cleanup of historical artefacts, and to remove unnecessary
differences between KAME ans FAST_IPSEC
2012-01-04 15:55:35 +00:00
wiz
067d9a870e
Use more markup. New sentence, new line. Sort sections.
...
Bump date for previous.
2012-01-02 18:04:34 +00:00
rkujawa
a7bcbbf244
Note the fact that wsmoused will work only with some wsdisplay drivers.
2012-01-01 19:12:17 +00:00
wiz
8da3566432
Improve markup, remove tailing whitespace.
2011-12-28 18:56:38 +00:00
manu
4fba06add5
Add a FUSE trace facility, with statistics collection. This should help
...
tracking bugs and performance issues
2011-12-28 17:33:52 +00:00
christos
cc595d81e1
avoid reusing inet_addr twice.
2011-12-24 23:54:26 +00:00
christos
ff4773faf5
PR/45662: Henning Petersen: Overlapping buffer in lpd_command.c
2011-12-24 23:51:27 +00:00
christos
c232e0a0bd
make len unsigned; -1 will turn into a large number, failing the test.
2011-12-24 23:46:11 +00:00
christos
0e0461c781
check also for overflow
2011-12-24 23:42:30 +00:00
christos
21f928d30f
Don't repeat what we just printed.
2011-12-24 23:38:43 +00:00
christos
588171e07d
PR/45660: Henning Petersen: Overlapping buffer in catman.c.
2011-12-24 23:29:32 +00:00
christos
55c6b3796e
don't include pcap/bpf.h
2011-12-21 22:18:43 +00:00
tsutsui
b85690a33f
Rename FRAME* macro to TRFS_FRAME* for readability and
...
workaround for powerpc builds. Pointed out by phx@.
XXX: <powerpc/frame.h> shouldn't pollute userland namespace anyway.
2011-12-18 14:45:23 +00:00
tsutsui
00e88a96fa
Fix Bl/El unmatch. Pointed out by kano@.
2011-12-17 14:25:32 +00:00
wiz
38248e584c
Remove trailing whitespace.
2011-12-17 14:12:44 +00:00
tsutsui
a7f5216f76
Add an rc.d(8) script for isibootd(8). Taken from ndbootd(8).
2011-12-17 13:37:49 +00:00
tsutsui
17d9647811
Build and install isibootd(8).
2011-12-17 13:27:49 +00:00
tsutsui
87d308c17e
Add isibootd(8) command, which is a dumb network boot server program
...
for the OMRON LUNA clients, like ndbootd(8) for Sun2 machines.
No particular comment on tech-userlevel@:
http://mail-index.NetBSD.org/tech-userlevel/2011/12/15/msg005872.html
2011-12-17 13:24:18 +00:00
wiz
4486afd401
Sort sections. Remove trailing whitespace.
2011-12-16 12:51:43 +00:00
manu
a3a1865132
Document a bug when processes hang on uvn_fp2. FWIW, hung process exhibit
...
this stack backtrace:
sleepq_block
mtsleep
uvn_findpage
uvn_findpages
genfs_getpages
puffs_vnop_getpages
puffs_vnop_checkop
VOP_GETPAGES
uvn_get
uvm_fault_internal
trap
copyin
uiomove
ubc_uiomove
puffs_vnop_write
puffs_vnop_checkop
VOP_WRITE
vn_write
dofilewrite
sys_write
syscall
2011-12-16 10:57:43 +00:00
tsutsui
e653c834ec
Remove nonexistent (probably HP-UX specific) Xref rmp(4).
2011-12-15 16:45:21 +00:00
macallan
087dcab971
build eeprom on shark
...
this has been working for ages, why did I never commit it?
2011-12-15 07:51:29 +00:00
roy
32e4280f5f
Use RT_ADVANCE when available.
...
Fixes PR/44838
2011-12-12 01:11:33 +00:00
christos
8e4c4c6990
- sprinkle const
...
- malloc + memset -> calloc
- free + malloc -> realloc
- syslog("%s", strerror(errno)) -> syslog("%m")
2011-12-11 20:44:44 +00:00
joerg
ee8c61bc50
Use __dead. No prototype for main.
2011-12-11 15:25:52 +00:00
roy
4d6bb52603
Add RDNSS and DNSSL support, RFC6106.
...
Replace custom lists with TAILQ lists.
Clean up plently of signed vs unsigned warnings and set WARNS=4.
Adapted from FreeBSD.
2011-12-10 19:14:29 +00:00
yamt
e21ed02f84
- add a CAVEATS
...
- fix a warning
2011-12-09 15:26:48 +00:00
christos
539c90b5a5
be more portable, explain what we are doing, simplify.
2011-12-07 22:52:54 +00:00
jmcneill
1d4bba4173
change printed indicator and battery charge strings from ON and OFF to TRUE
...
and FALSE, because messages like "battery present: ON" are difficult for my
brain to parse.
2011-12-04 19:34:22 +00:00
chs
b364697460
add info on L2 TLBs and 1GB pages.
2011-12-04 17:00:10 +00:00
dholland
4cd06b238c
Move path names to pathnames.h per conventions
2011-12-01 00:34:05 +00:00
dholland
5cea11a8b9
Handle return value from system() properly.
...
PR 45672 from River Tarnell.
2011-12-01 00:26:45 +00:00
dholland
334ade83c1
attribute format printf -> __printflike
2011-12-01 00:15:32 +00:00
riz
8747d13883
Remove quotes from "hash" and "tree" in the table examples so
...
the example stands a chance of actually working as written. There appear
to be other problems, too.
2011-11-29 01:12:09 +00:00
wiz
825bd212d9
Improve wording, sort sections, remove ls(1) escapee.
2011-11-26 22:49:37 +00:00
yamt
ffd61475c1
man page
2011-11-26 05:02:44 +00:00
tls
aae64c95c0
Make the rndsave structure public -- the kernel will learn to read it
...
and sysinst may learn to write it (since, on some systems, most of
the keyboard input they ever get happens to be during install). Fix a
couple of minor problems with the random_seed rc script addition.
2011-11-26 01:17:17 +00:00
dholland
51d1d7e7c4
Rename struct ufs_quota_entry -> struct quotaval.
2011-11-25 16:55:05 +00:00
joerg
ca8921efd7
Use __dead
2011-11-25 13:18:22 +00:00
joerg
0a04fd0539
static + __dead
2011-11-25 13:13:33 +00:00
joerg
dc9f50680c
Use static + __dead
2011-11-25 12:51:27 +00:00
njoly
cbcd12b119
Define RUMP_DISKFS to provide getdiskinfo from rumpdev_disk library.
2011-11-14 11:28:05 +00:00
dholland
78108b8ccc
Split up excessively large main().
...
Fix -d behavior to match documentation.
2011-11-13 15:42:35 +00:00
dholland
26b9d6b1f1
Cleanup for edquota.
...
Factor out common malloc and linked list code. Distinguish lists of
quota info from single records.
2011-11-13 15:41:34 +00:00
mbalmer
5d1027619d
Fix a "lonely name".
2011-11-13 14:39:42 +00:00
mbalmer
a2091c8232
Remove software pulsing in gpio(4), this functionality is now provided
...
by the gpiopwm(4) driver.
2011-11-13 13:20:02 +00:00
mbalmer
55c6b7f708
Second part of typo fixing cycle...
2011-11-12 16:34:03 +00:00
mbalmer
2f3d365a23
Fix typo.
2011-11-12 15:44:36 +00:00
wiz
918f67027f
Use Sq, and remove trailing whitespace.
2011-11-09 14:16:00 +00:00
is
5224338e35
If hosts.lpd contains '+', don't insist on reverse DNS == forward DNS.
2011-11-09 12:45:58 +00:00
jakllsch
7c5be444d3
freeaddrinfo() only on getaddrinfo() success.
2011-11-05 19:19:29 +00:00
zoltan
5a5d868dc5
Add IPv6 support for NPF.
2011-11-04 01:00:27 +00:00
martin
77a3a1ee2a
Minor usage tweaks for SMALLPROG
2011-11-03 20:46:41 +00:00
martin
d1852e4e9b
Minor nits in the sparc64 example
2011-11-03 20:09:18 +00:00
wiz
31ed07fa18
Spelling.
2011-11-02 20:27:33 +00:00
wiz
3e94948cb5
New sentence, new line.
2011-11-02 20:26:56 +00:00
christos
fb62226b8d
mention macos/x needing -N
2011-11-02 18:12:54 +00:00
christos
5b280d5010
Don't document long defunct flags
2011-11-02 18:09:43 +00:00
pgoyette
da505ca133
Update license to reflect actual source of this code which was extracted
...
from a larger work.
2011-11-01 22:30:32 +00:00
manu
ff9e6ef6d0
Fix the confusion between nodeid and inode numbers
2011-10-30 05:17:41 +00:00
manu
df227937ba
openlog with LOG_NDELAY so that pzerfused does not deadlock later
...
on vnode recycling because it wants to log a message.
Patch from Manuel Bouyer.
2011-10-23 05:03:37 +00:00
mbalmer
6e0f0ba65d
Revieve -> Receive in a comment.
2011-10-17 16:50:47 +00:00
mbalmer
c008138e06
This file received some typo-love.
2011-10-17 16:37:50 +00:00
mbalmer
2790b28f0e
Fix typo in comment.
2011-10-17 16:31:14 +00:00
plunky
f65a48c2ec
max WARNS is 4
2011-10-13 17:23:28 +00:00
christos
4a5d314575
add support for setting the ufs label. (Nathan Whitehorn)
2011-10-09 21:33:43 +00:00
joerg
70f70a6342
Simplify.
2011-10-07 10:50:01 +00:00
joerg
02eb62396f
Simplify
2011-10-07 10:46:29 +00:00
joerg
0b2dbbfed6
Use __dead
2011-10-07 10:30:21 +00:00
joerg
32ffffe1af
Fix under-allocation-by-one
2011-10-07 10:06:39 +00:00
mrg
bffbba31b4
fix the sendmail, mailerconf and atf checks to use ${DEST_DIR}.
...
add a note about this to the top of the file.
2011-10-07 02:07:56 +00:00
wiz
5dbc169dd3
Install i2cscan(8).
2011-10-06 12:38:57 +00:00
wiz
ed0c37a1b4
Add man page for review.
2011-10-06 11:13:45 +00:00
wiz
7caa96aa36
Sort SEE ALSO.
2011-10-06 11:05:42 +00:00
mbalmer
d394843f35
Remove the GPIODETACH gpio(4) ioctl (it is still available in COMPAT_50) and
...
the 'detach' command line option from gpioctl(8). Drivers that are
attached to gpio pins can be detached using the drvctl(8) command.
2011-10-03 11:16:47 +00:00
mbalmer
d0a114ea0b
Build i2cscan, since it is the list files.
2011-10-03 07:29:33 +00:00
jmcneill
f11f373e5d
add userland implementation of I2C_SCAN code
2011-10-02 16:48:47 +00:00
mbalmer
44f61c8547
It's actually 'the flag locator', not 'flags' (as 'flags' can not be used
...
as a locator name for reasons unknown to me.)
2011-10-02 12:43:52 +00:00
mbalmer
90077b6e6d
Add a ga_flags field to the gpio_attach structure to hand driver
...
specific flags to drivers being attached at gpio pins. gpioiic(4)
uses this to reverse the SDA/SCL signal order. gpioctl(8) accepts
the flag values as optional argument to the attach command.
While here, make sure we retain backwards compatability and wrap compat
code in #ifdef COMPAT_50/#endif.
2011-10-02 09:33:18 +00:00
jym
afca4e3b49
Fix an implementation inconsistency with the prop_*_send_syscall() and
...
prop_*_recv_syscall() functions from proplib(3). They now share the
same logic as the one from prop_*_send_ioctl() functions:
- returns an int
- 0 indicates "no error", otherwise returns the error number (and
set errno)
Many consumers of the prop_*_{ioctl, syscall} expect errno to be set
on error and use err() to display the error message. As such, ensures that
errno gets set before returning from these functions.
prop_*_send_syscall() functions returned a boolean, and now return an int.
Fix all call sites to use the new paradigm (only quota2 is affected in src).
As the prop_*_{send,recv}_syscall() API appeared in -current and is only
used by the recent quota2 code, I am not bumping the lib. The API change
only affects the prop_*_send_syscall() function (recv_syscall()s were
already used correctly), so ensure you are not mixing "old" -current
quota binaries with a new proplib(3) (or the other way around). This
change will be announced via a HEADS-UP and UPDATING.
Does not affect the kernel part of proplib.
Document the correct API in prop_array(3) and prop_dictionary(3).
Thanks to Francois Tigeot for noticing the API inconsistency and
reporting it on tech-kern@.
ok bouyer@.
2011-09-30 22:08:18 +00:00
jruoho
be8b5eb28c
Define _PATH_CPUCTL.
2011-09-27 11:24:20 +00:00
jruoho
cb6e031ff5
Fix wrong err(3) message (no such thing as IOC_CPU_GETINFO).
2011-09-26 06:51:57 +00:00
christos
0049ea08f4
Bump the queue size to 32K
2011-09-24 20:19:39 +00:00
mrg
162d7d5b76
remove an extra ".TP" that broke my build.
2011-09-22 07:30:04 +00:00
wiz
bb903ea004
New sentence, new line. Remove empty EXAMPLE section.
2011-09-21 20:12:11 +00:00
christos
9a4d7431cb
Add a canonicalize option to avoid disaster when one converts directories
...
to symlinks in the tree and back. This option is expensive, it could be
made better by cacheing, but not now.
2011-09-21 19:34:54 +00:00
christos
9525895f88
constify
2011-09-21 19:32:59 +00:00
christos
3584aaaf1c
- don't use an uninitialized grouplist (from Patrick Welche)
...
- While here:
* Allow all numeric users and groups
* Error check string to number conversion
* Factor out common code
2011-09-20 14:28:52 +00:00
joerg
6818646ac8
Use __dead
2011-09-16 15:39:25 +00:00
wiz
5f13296f84
Wording, from Snader_LB.
2011-09-15 11:52:09 +00:00
mbalmer
53d80c937c
Bump (c) year.
2011-09-15 11:46:32 +00:00
plunky
c8157303ac
this HAVE_PCC is not (any longer) required
2011-09-13 14:00:08 +00:00
jdc
f8dbae1d18
Add a cs_hwid field to cpustate and use this to store the ci_cpuid (hardware
...
ID). Report this as the HwID in cpuctl.
OK jruoho@.
2011-09-11 14:54:49 +00:00
christos
e1a1d844d3
merge in traceroute1.4a12. Our sources are so different that it is really
...
difficult to do this with an import.
2011-09-11 01:06:26 +00:00
manu
5a6d3e75bd
Serialize access to file size. We already have such a thing in the
...
kernel, where it fixes race for PUFFS filesystems, but we need it again
in perfused since FUSE filesystems are allowed to reorder requests.
The huge issue is in the asyncrhonous SETATTR sent by fsync. It is
followed by a syncrhnous FSYNC, so if the filesystem does not reorder
requests, once the FSYNC returns, we are confident the SETATTR is done.
But since FUSE can reorder, we need to implement sync in perfused.
2011-09-09 15:45:28 +00:00
jym
a0e5aa6d82
/etc/defaults/rc.conf can be modified at build time by getting additional
...
arch-specific hooks appended to its end (currently: i386 and amd64).
Handle this case in postinstall(8) by checking whether we are in
$SOURCEMODE or not, and generate the correct rc.conf file on the fly in
case we have to. Otherwise, postinstall(8) may install the default one
obtained from a source directory that does not have the MD hooks
appended to it.
Problem reported by wiz@. Thanks!
2011-09-06 21:39:30 +00:00
jym
f618b3bb0d
Set $SRC_DIR to its default value at the beginning of main() so that
...
usage() can print the correct value even when called early.
2011-09-06 14:13:46 +00:00
jym
ec521efc45
Check that $TGZMODE is true to deduce that the set is extracted
...
from a .tgz instead of checking that $SRC_DIR != $SRC_ARG. These variables
can be modified in different places, so it's less error prone.
2011-09-06 14:08:05 +00:00
plunky
acae68523e
reinstate NULL cast by request, where the NULL was being passed as a vararg
2011-09-01 07:18:50 +00:00
christos
218314d564
don't truncate time_t
2011-08-31 16:32:48 +00:00
plunky
9f61b80465
NULL does not need a cast
2011-08-31 16:24:54 +00:00
joerg
bec77c5f43
Use __dead
2011-08-31 13:32:36 +00:00
joerg
12e6140314
__dead + ANSIfy
2011-08-31 13:31:29 +00:00
joerg
011ce1522e
Use __dead and __printflike
2011-08-31 13:30:44 +00:00
nakayama
65e58969b4
Fix build on mips (NOAOUT case).
2011-08-31 13:09:10 +00:00
gson
3d0694be75
Yet another format string fix
2011-08-31 08:15:08 +00:00
gson
ed5e21d45c
Fix format string to unbreak i386 build
2011-08-31 07:17:44 +00:00
mbalmer
c3001cc345
Remove double 'static'.
2011-08-31 07:03:00 +00:00
joerg
87a5b512fc
Localize variables. Use __dead
2011-08-30 21:28:27 +00:00
joerg
ffcaee0540
static + __dead
2011-08-30 21:27:00 +00:00
joerg
949eeab3f6
static + __dead + G/C
2011-08-30 21:26:11 +00:00
joerg
f4727fdfcf
static + __dead
2011-08-30 21:18:11 +00:00
joerg
c22bf27456
ANSIfy + static + __dead
2011-08-30 21:17:06 +00:00
joerg
6ede639fd6
__dead + __printflike
2011-08-30 21:14:06 +00:00
joerg
8583b49ce0
static + __dead
2011-08-30 21:03:31 +00:00
joerg
2d826702b5
ANSIfy + static + __dead
2011-08-30 20:54:18 +00:00
joerg
61a4a25cad
De-__P + __dead
2011-08-30 20:52:10 +00:00
joerg
30469ad85e
static + __dead
2011-08-30 20:51:29 +00:00
joerg
0cc6686eff
ANSIfy + __dead
2011-08-30 20:50:24 +00:00
joerg
58b3bed15d
static + __dead
2011-08-30 20:49:29 +00:00
joerg
36ae1097e8
static + ANSIfy + __dead
2011-08-30 20:45:31 +00:00
joerg
62c5413271
G/C
2011-08-30 20:43:43 +00:00
joerg
f796930c37
static + ANSIfy + __dead
2011-08-30 20:42:22 +00:00
joerg
2d6640c450
static + __dead
2011-08-30 20:33:30 +00:00
joerg
fedff36094
ANSIFy + static + __dead
2011-08-30 20:29:41 +00:00
joerg
76d8a55bb7
static + __printflike + __dead
2011-08-30 20:25:18 +00:00
joerg
9b838647dd
Fast backward code to 1989 and use ANSI C consistently. Use __dead.
2011-08-30 20:17:00 +00:00
joerg
7e8db9e768
static + __dead
2011-08-30 20:08:38 +00:00
joerg
8138b1d050
static + ANSIfy + __dead
2011-08-30 20:07:31 +00:00
joerg
e50af0f5ca
static + __printflike + __dead + format string fixes
2011-08-30 20:03:50 +00:00
joerg
428b619bde
ANSIfy. Use __dead.
2011-08-30 20:00:58 +00:00
joerg
732d96f1f0
ANSIfy + __printflike + __dead
2011-08-30 19:49:10 +00:00
joerg
257a846ab4
static, __printflike, __dead
2011-08-30 19:27:37 +00:00
joerg
2eb6527c5c
static + __dead
2011-08-30 19:20:20 +00:00
joerg
7cbacafc54
ANSIfy + __dead
2011-08-30 19:18:17 +00:00
joerg
5f1d0b022e
static + __dead
2011-08-30 19:06:06 +00:00
joerg
6bd0ed17f2
static + __dead
2011-08-30 18:57:38 +00:00
joerg
514310971d
Use __dead and __printflike
2011-08-30 18:53:41 +00:00
joerg
7a78feffac
static + __dead
2011-08-30 18:50:48 +00:00
joerg
d6ee580bf7
static + __dead
2011-08-30 18:30:13 +00:00
joerg
60f8231589
ANSIfy + static + __dead
2011-08-30 18:28:59 +00:00
joerg
68b3316c6c
static + __dead
2011-08-30 18:24:17 +00:00
plunky
87d4f6076b
Apply casts to cases where xdrproc_t is expected but is not
...
strictly passed, for example because the second argument is
a different kind of pointer.
2011-08-30 17:06:20 +00:00
joerg
5c1014c629
ANSIfy + static + dead.
2011-08-30 10:12:06 +00:00
christos
47a08534f0
in external now
2011-08-30 10:08:11 +00:00
joerg
3bb0bce39d
static openinfo. dead, not unused usage.
2011-08-30 10:04:50 +00:00
joerg
dccf569e0e
Use __dead.
2011-08-29 20:38:53 +00:00
joerg
a1de9c2dbb
Use __dead and __printflike
2011-08-29 20:37:43 +00:00
alnsn
e0e35e91bd
Typo.
2011-08-29 14:09:01 +00:00