Commit Graph

9540 Commits

Author SHA1 Message Date
joerg
c1e0a5bd50 Replace the current usage of Elf64_Half with Elf64_Word and rename
NetBSD specific Elf64_Quarter to Elf64_Half. This restores compatibility
with the common ELF specifications.
2010-08-28 21:30:02 +00:00
kardel
925a7aaa61 unhook ntp 4.2.4 reachover build 2010-08-28 15:45:48 +00:00
wiz
cd9eb5b6d8 Various fixes and improvements. 2010-08-27 18:12:51 +00:00
manu
1326029781 - if perfused is not already started (cannot connect to /dev/fuse),
FUSE filesystems will attempt to start it on their own, and will
communicate using a socketpair

- do not advertise NULL file handle as being valid when sending themback to the FUSE filesystem.

- unmount if we cannot talk to the FUSE process anymore

- set calling process gid properly

- debug message cleanup
2010-08-27 09:58:17 +00:00
christos
fdda333719 bye old wpa. 2010-08-26 14:58:29 +00:00
manu
516b1c9016 - open the file before doing fsync: glusterfs wants that.
- Automatically call fsync on close for files. If we just close, fsync
will come later and we will have to reopen

- Add a PND_DIRTY flag to keep track of files that really need a sync.
perfuse_node_fsync only calls the FUSE fsync method if there are data
to push.

- Add a PND_OPEN flag to keep track of open files. Checking non NULL
fh is not enough, as some filesystems will always set fh to 0.

- Add a sync diagnostic flag, to watch fsync and dirty flag activity.
Make the fh diagnostic flag more verbose

- Send the fh in setattr (it was hardcoded to 0)

I am now able to build libperfuse in a glusterfs mounted filesystem. Yeah!
2010-08-26 13:29:01 +00:00
cegger
3cc4951138 show crom:
Print calculated crc. When crc does not match then print expected crc.
2010-08-26 07:04:04 +00:00
jruoho
d439ff278b Use <paths.h>. Remove trailing white space. 2010-08-26 05:25:57 +00:00
manu
a18d4c5a69 perfused(8) creates a /dev/fuse socket and performs PUFFS to FUSE relaying.
This is still a work in progress.
2010-08-25 07:18:01 +00:00
rmind
3b6fdb92e5 Move npf.conf(5-8) into the correct section, hence npf.conf(5). 2010-08-24 23:55:04 +00:00
cegger
188054e855 Backport improvements from FreeBSD.
Introduce two new options:
-f : force root node
-i : set priority budget where supported
developped, tested and reviewed by kiyohara@ and me.
2010-08-24 08:41:24 +00:00
jnemeth
08e3aa9c11 fix build failure -- correct printf sizes 2010-08-23 06:01:04 +00:00
rmind
2e6f2099c6 Import NPF - a packet filter. Some features:
- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
wiz
3d5790d7f6 Sort sections. 2010-08-18 10:00:49 +00:00
christos
d8bfbcfa53 add syslog logging. 2010-08-18 08:06:39 +00:00
wiz
70f1aeef21 Revert unimprovement from previous. 2010-08-16 06:56:48 +00:00
cegger
9442479bbf backout accidentally committed changes 2010-08-15 22:05:14 +00:00
cegger
5a10adf510 spelling fix 2010-08-15 22:01:57 +00:00
cegger
f15046fcff Feed improvements from FreeBSD 2010-08-15 21:52:30 +00:00
pgoyette
1009226e90 Fix a typo 2010-08-14 16:32:26 +00:00
cegger
b3454b7a0b fwcontrol -> fwctl 2010-08-14 16:23:49 +00:00
joerg
045886139e Include the type of non-complex pins in the label. 2010-08-10 13:52:13 +00:00
pooka
0a80f65755 support CTLTYPE_BOOL 2010-08-06 15:26:16 +00:00
pooka
c7528563f1 If compiled with RUMP_ACTION, access rump kernel instead of host
kernel.  This is an easy way to browse & modify the sysctl tree
offered by a rump kernel instance.
2010-08-06 15:04:13 +00:00
christos
b70c7f2153 unhook old wpa code. 2010-08-04 17:13:33 +00:00
mlelstv
1898a7c316 Print the correct value for critmin of a fan sensor. 2010-08-01 15:39:52 +00:00
cegger
f108f421fc remove useless brackets. From kiyohara@ 2010-07-31 07:05:32 +00:00
pooka
b36b2c0f6d Remove unused LDADD lines. They need work to work, and if anyone
ever does that work, they surely can come up with the LDADD line as
well.
2010-07-20 14:42:03 +00:00
mrg
6479f6e5b4 ldap is configured to depend upon MKCRYPTO no, so force MKLAP=no if
MKCRYPTO=no.
don't build pkg_install, libcrypto tests or rump_smbfs if MKCRYPTO=no.
mark librumpcrypto, rump_smb, pkg_*

fix set lists as appropriate.
2010-07-11 06:16:54 +00:00
reed
a66933c999 Add brief explanations of unit abbreviations.
Add units(1) to see also.
2010-07-09 22:24:13 +00:00
jruoho
42a8adcdaf Xref ldd(1) as per PR bin/30043 from Jochen Keil. 2010-07-06 23:05:56 +00:00
pooka
afdc25dbdf When using the top secret PUFFS_COMFD model, write out size of the
puffs kernel args before the contents.  This allows parties which
have no clue about the contents to proxy the protocol easily.
2010-07-06 13:27:16 +00:00
kefren
14ce3efb4a Fix incomplete extensions sanity checks 2010-07-02 12:13:11 +00:00
pooka
bdc0f19ba4 link putter now that it's a separate component 2010-06-30 16:22:49 +00:00
joerg
4d4c59441b Run services_mkdb if only the old hash exists 2010-06-24 17:12:06 +00:00
matt
026f5f1d75 Make ofctl for ofppc machines. 2010-06-20 21:30:26 +00:00
tnozaki
2a7af30c36 1. split runetype_local.h -> runetype_file.h
and remove renameing _Rune* -> _NBRune* namespace protection.

   FreeBSD traditionaly exposes struct _Rune* in runetype.h
   which included by ctype.h. it may cause conflicting type error
   in our cross build process, former we use renaming namespace
   to avoid this problem, now i reworked more resonable way.

2. merge rune_local.h to runetype_local.h, and remove it.
3. split bsdctype.h -> bsdctype_{file,local}.h
2010-06-13 04:14:56 +00:00
tnozaki
4935b908f2 s/_CTYPE_NUM_CHARS/_CTYPE_CACHE_SIZE/ 2010-06-12 18:02:31 +00:00
dholland
3e9fa0fcf5 sprinkle some const 2010-06-10 06:28:33 +00:00
dholland
109bd3a98e ANSIfy function declarations 2010-06-10 06:17:21 +00:00
dholland
0857145886 de-__P() 2010-06-10 06:09:10 +00:00
dholland
6ea002c7af Allow -f -, as per PR 10898. 2010-06-10 06:03:20 +00:00
riz
634f514ee6 Allow syslogd to compile when MKCRYPTO=no. No promises as to whether
it works or not, as this has been broken since late 2008, when the
"encrypted connections" support was added to syslogd.
2010-06-09 21:55:42 +00:00
dholland
c91651efd0 Requires sys/param.h. 2010-05-30 04:32:09 +00:00
dholland
27bc337fe3 with luck this is the last one 2010-05-30 00:52:06 +00:00
dholland
fcd908b8d5 no braaaains for you either! 2010-05-30 00:50:25 +00:00
tnozaki
64a7d4fa9a 1. hide _CTYPE_PRIVATE section in ctype.h, move them to private header ctype_local.h.
2. do not use _CTYPE_NUM_CHARS macro to read data from LC_CTYPE(old BSDCTYPE style) database.
   because 1<<CHAR_BIT is MD, so i added MI macro _CTYPE_CACHE_SIZE(1<<8).
3. remove _NB_CACHED_RUNE macro, use _CTYPE_CACHE_SIZE instead.
2010-05-22 06:38:15 +00:00
christos
798c8ea20e PR/19069: SUENAGA Hiroki: Original fix was defective because on big endian
the expression is not truncated to 16 bits, thus sending to port 65536 makes
the == 0 test fail and the packet ends up being sent.
2010-05-13 18:19:18 +00:00
tnozaki
50eb6aadde cast isblank(3)'s argument to unsigned char. 2010-05-13 17:52:11 +00:00
wiz
6f43bcda13 Remove trailing whitespace and dot in Nd. 2010-05-09 14:02:10 +00:00