Commit Graph

8293 Commits

Author SHA1 Message Date
seb
2d1475af34 Fix typo.
Ok'ed by xtraeme@
2007-08-07 10:17:17 +00:00
xtraeme
8d2fbe8ac8 The caller of prop_dictionary_externalize is responsible to free the
returned buffer... make it so. Reminded by prop_dictionary(3).
2007-08-05 23:20:44 +00:00
jmmv
f5d7807725 Add the __COPYRIGHT and __RCSID tags. 2007-08-05 13:52:44 +00:00
dsieger
8438931b2b From Zafer Aydogan: Fix a typo: s/distination/destination/ 2007-08-05 09:31:24 +00:00
ad
18af8ee9bd Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.
2007-08-04 11:02:56 +00:00
wiz
96a93618fa It is probably better to use build.c in SRCS instead of build.o. 2007-08-03 21:50:27 +00:00
jmmv
2fe103e7dd Messages passed to errx are not supposed to have a trailing \n. Fix that. 2007-08-03 15:34:00 +00:00
joerg
9f6fe41470 Update reach-over code for pkg_install-20070802. 2007-08-03 14:04:15 +00:00
pooka
b5bd455564 make closehandles() void, because that's what it is 2007-07-29 17:50:22 +00:00
nonaka
16469ee06f Added zaurus. 2007-07-29 14:37:25 +00:00
nonaka
055f45996f Added zaurus. 2007-07-29 14:34:45 +00:00
plunky
30ba4a7458 add mention of rc.d/btuartd 2007-07-29 13:17:38 +00:00
pooka
1aba0dbed1 Track memory mappings. Close file handles already in close() if there
are no active mappings, otherwise do the standard inactive() run.
2007-07-27 09:46:27 +00:00
drochner
baf5b50880 adjust for tcpdump-3.9.7 2007-07-24 12:01:00 +00:00
xtraeme
9293272695 Erm... fix previous. 2007-07-21 11:11:10 +00:00
xtraeme
6d38d74b11 Fix a logic bug: report a message and error if -s or -m is being used
without -d.
2007-07-21 10:59:57 +00:00
christos
ce7376f2ed more cygwin fixes. 2007-07-20 18:58:14 +00:00
christos
52c8d9f862 cygwin support. 2007-07-20 16:39:05 +00:00
pooka
242bfad7a6 support poll 2007-07-20 13:18:09 +00:00
pooka
87429c840c Oops, the cookies for nfs of course represent the *next* directory
entry offset, not the current one.
2007-07-19 10:14:53 +00:00
pooka
d8a510556e get rid of DBG= 2007-07-18 22:38:58 +00:00
christos
63bf90c624 Eliminate MFSNAMELEN 2007-07-17 22:00:46 +00:00
christos
9e211aafa1 Kill MFSNAMELEN 2007-07-17 21:50:07 +00:00
xtraeme
37fa16db65 Return the value returned by prop_dictionary_recv_ioctl() if the -x flag
is specified too.
2007-07-17 18:15:02 +00:00
xtraeme
8b1500977e - Return the value returned by prop_dictionary_{recv,send}_ioctl
in all cases.
- Skip sensors that do not have a description object in its dictionary.
2007-07-17 17:40:59 +00:00
xtraeme
0a6f85e0f3 Only allow to use ENVSYS_SETDICTIONARY if the user has write permission
in the /dev/sysmon device.

Use O_RDONLY for ENVSYS_GETDICTIONARY and O_RDWR for ENVSYS_SETDICTIONARY
in envstat(8).

Fixes PR kern/36661 by YAMAMOTO Takashi.
2007-07-17 15:43:08 +00:00
xtraeme
2577f77bbc Add the -r flag, which is a dummy flag... only added for compatibility
reasons.
2007-07-17 13:12:46 +00:00
pooka
08db7d7534 * add mntfromname parameter to puffs_init()
* set it in file servers
2007-07-17 11:34:51 +00:00
pooka
90ba17c197 support standard user@host:path mount argument 2007-07-17 10:06:03 +00:00
joerg
2ccbc1ff9d Switch to src/dist as primary src location of pkg_install.
Adjust the Makefiles to be reachover Makefiles and remove
some unnecessary warning exceptions.

audit-packages.conf is stored redundantly in src/etc, not changed yet.
pkgsrc.7 is also kept in share/man/man7.

Add a comment in lib/nbcompat.h to make the file non-empty.
2007-07-16 19:57:46 +00:00
joerg
f6afac53fa Switch to src/dist as primary src location of pkg_install.
Adjust the Makefiles to be reachover Makefiles and remove
some unnecessary warning exceptions.

audit-packages.conf is stored redundantly in src/etc, not changed yet.
pkgsrc.7 is also kept in share/man/man7.

Add a comment in lib/nbcompat.h to make the file non-empty.
2007-07-16 19:33:02 +00:00
xtraeme
d99380c510 Explain that sensor_indicator will be used for indicators and integers. 2007-07-16 17:49:56 +00:00
pooka
9ec31d4b95 If the target node exists in rename, do not try to issue a setback
to signal no references, as that is not currently supported for
node_rename().  The removed node will not immediately be reclaimed,
but we can live with that for now.

While here, factor the removal code a bit to share with remove and
rmdir.

fixes PR kern/36637 by reinoud
2007-07-16 09:36:06 +00:00
wiz
833f95f3dc Sort options. Sync -E argument name with man page. 2007-07-15 21:24:46 +00:00
wiz
e85760e80f Sort options. Use HTML escapes. 2007-07-15 21:24:22 +00:00
xtraeme
efff6f1100 Extend do_envsys() and check if the sensor_* files in /etc/powerd/scripts
are installed.
2007-07-15 14:31:08 +00:00
xtraeme
307b2a722c Do not install fixsb anymore, which was removed recently. 2007-07-15 13:02:41 +00:00
jnemeth
e135b05bdf fix error message for obsolete_libs 2007-07-15 03:04:39 +00:00
joerg
3a6411a4c8 When fixing vsftpd, other FTP server were broken as they return
different error codes for unmatching glob patterns. Basically ignore the
error code and just try the other pattern. chdir errors are still
considered fatal.

Bump version to 20070715.
2007-07-14 22:53:27 +00:00
ad
96d0aa8e9b fixsb has done its job. 2007-07-14 21:20:31 +00:00
adrianp
38581a0561 Update to pkg_install-20070714
Merge of audit-packages with various improvements:
* Version 20070714
	Initial release of re-write in C
	Add support for notfication of eol packages (-e)
	Multiple levels of verbosity (e.g. -v -v)
	Specify a custom config file to use (-c)
	Query running config values (-Q)
	Default to download .gz compress pkg-vulnerabilities file
	Support for .bz2 compress pkg-vulnerabilities file
	Verify signature on downloaded files (-s)

Thanks to tron@, jschauma@, agc@, joerg@ and pkgsrc-security@ for feedback
and testing.
2007-07-14 20:03:41 +00:00
dsl
29f2310244 Add the new 'data_len' parameter to mount calls.
Passing in zero causes the kernel to use the default for the filesystem,
doing anything else here would require hacking through layers of code
in 'dist'.
2007-07-14 16:00:07 +00:00
ad
5c2240bb95 - Increase default number of trace buffers to 10000.
- New options:
     -f         Trace only by calling functions.
     -m         Merge call sites within unique functions.
     -M         Merge lock addresses within unique objects.
2007-07-14 13:30:43 +00:00
xtraeme
45e944a6cf Define a set of macros to avoid writting same code many times. 2007-07-13 00:42:57 +00:00
xtraeme
425df11cce Add a missing printf in parse_dictionary() and simplify this part to
avoid code duplication in two places.
2007-07-12 22:52:54 +00:00
xtraeme
0938d9b438 Remove a comment that is not valid anymore. 2007-07-12 18:34:07 +00:00
xtraeme
ff9bb2708d - Do not refrence memory already freed, thanks to Geoff C. Wing for
the analysis. Closes PR bin/36636.
- Also use the longest string for the column alignment counting all
  sensors available from all devices, not per-device.

Thanks to rmind@ for help.
2007-07-12 18:24:35 +00:00
xtraeme
37b598db93 Add do_envsys() that checks if /etc/envsys.conf exists. 2007-07-12 07:13:07 +00:00
yamt
0fc9d7ee0d after switching to threads:
- g/c SIGCHLD handler.
- pthread_setname_np rather than setproctitle.

the patch provided by Andrew Doran.
2007-07-11 04:59:19 +00:00
jmcneill
afa3505c29 Make trpt build again, based on recent netstat changes. 2007-07-10 22:23:13 +00:00