Commit Graph

8279 Commits

Author SHA1 Message Date
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
yamt cebe06e8e7 use pthread_create instead of fork. 2007-07-10 13:52:51 +00:00
pooka 52c5d7c979 * support non-blocking read/write
* support seek (or actually support failing to seek ...)
2007-07-09 09:28:21 +00:00
pooka a43c6db049 play it safe: ignore sigpipe 2007-07-08 17:13:24 +00:00
pooka 5e1b81c1b5 Accept user as a flag. This way the usage is fstab-compliant:
mount_9p argument mountpoint
2007-07-08 16:29:29 +00:00
pooka 9d2baecbde build & install puffsportal (if MKPUFFS) 2007-07-08 14:29:52 +00:00
pooka 226c70ad91 Build this as mount_puffsportal for now, so that it can be easily
installed at the same with the regular mount_portal.
2007-07-08 14:27:48 +00:00
pooka 33318660d7 * don't need to define a nop notify, just pass in NULL to init
* remove node's i/o descriptor in reclaim
2007-07-08 11:45:00 +00:00
pooka e395775675 Add support for non-blocking I/O. Also fixes problems the providers
and popen() caused with concurrent access.

This should match the original portalfs in functionality now.
2007-07-08 10:43:03 +00:00
christos 97dcde77bc - Compile in with debugging by default.
- General cleanup.
2007-07-07 22:33:57 +00:00
pooka 1ad69966c9 I'm fairly certain this file system's type is psshfs, not ppshfs
(how did that manage to be there this long?)
2007-07-07 22:06:09 +00:00
pooka bfecc30afc adapt to puffs_framebuf changes 2007-07-07 21:14:26 +00:00
xtraeme ec5dc77a7c tyop 2007-07-05 20:17:43 +00:00
dsl 0c7234ef6a Note here that -e can be used on the pxeboot_ia32.bin file.
(It is already mentioned on the pxeboot(8) page.)
2007-07-05 19:49:53 +00:00
xtraeme 2ce86bd863 Align drive state string like other sensor types. 2007-07-05 14:11:08 +00:00