Commit Graph

377 Commits

Author SHA1 Message Date
christos
e2d1c3abce remove file that did not go before. 2013-06-27 14:52:58 +00:00
christos
38d57d6181 rename to follow suit. 2013-06-26 21:36:39 +00:00
christos
c02281a083 add an L2TP Gateway example. 2013-06-26 21:33:56 +00:00
yamt
ef672e506a fix user-after-free bug 2013-04-22 13:28:28 +00:00
yamt
6b3d697c3c do setlocale so that we can print localized messages from libpq correctly. 2013-04-22 13:27:49 +00:00
yamt
8df556197c make pg_config overridable 2013-04-22 13:27:08 +00:00
rmind
f69459c655 Fix syntax error in the example, fix one rule and G/C "rid" procedure. 2012-12-09 22:12:26 +00:00
spz
e146303174 adjust to current npf.conf syntax 2012-12-04 18:48:32 +00:00
christos
c1e423d3c5 add configurations to connect to Sprint's 3G network. 2012-11-01 00:40:22 +00:00
spz
c60c5ec2d8 actually install the new npf examples
add examples for a hash table file and a tree table file
add an ID string to host-npf.conf
2012-08-22 06:45:15 +00:00
spz
e185885455 add id string, fix comments 2012-08-21 08:25:21 +00:00
spz
52a0bf69ae the example from the man page, with a few extra comments 2012-08-21 06:54:39 +00:00
spz
f9b90c2013 add an example for a npf.conf
It probably could do with polishing of both rules and comments, but meh,
better than nothing
2012-08-20 21:09:49 +00:00
yamt
4571decefa comment 2012-04-11 14:28:46 +00:00
yamt
86c517f33d don't bother to call lo_close.
as we ever open a few LOs at most in a transaction, just let them be closed
automatically at the end of the transaction.
2012-04-11 14:28:18 +00:00
yamt
d72c60c595 setlabel: save SQL statements by caching the last label 2012-04-11 14:27:43 +00:00
yamt
5a2606adf5 remove FK references as it creates more problems than it solves.
particularly, it involves shared lock on the referenced table
and causes frequent deadlock.
2012-04-11 14:27:15 +00:00
yamt
cb9c120507 abuse application_name to show the last puffs activity for the connection. 2012-04-11 14:26:44 +00:00
yamt
e5acf2f836 reduce number of SQL statements for inactivate 2012-04-11 14:26:19 +00:00
yamt
c47d2fd43a - enable writeback cache and namecache.
- use setback hack to reduce number of puffs OPs.
2012-04-11 14:25:54 +00:00
mbalmer
ae1a443653 GPIO pins are 0 based when accessed from Lua, not 1 based like Lua usually
is.  The pulse() has been removed, use gpiopwm(4) for that.
2012-02-25 09:13:38 +00:00
jym
47c04e7b5a Update secmodel_examples to better describe the secmodel(9) API. 2011-12-04 23:55:36 +00:00
skrll
052320efd5 Typo 2011-11-27 09:07:11 +00:00
jmmv
a5847cc334 Add assembly language examples in a new 'asm' subdirectory.
At the moment this only provides an example for a "Hello world" program
for powerpc.  (Bear with me: this is my very first assembly program in
powerpc; if you find anything stupid in the code, please fix it!)
2011-11-12 01:18:40 +00:00
mbalmer
e0c22d6455 Install, and add to the set lists, example code to illustrate Lua module use. 2011-10-15 13:00:59 +00:00
mbalmer
250c0b9d25 Example files showing Lua module usage. 2011-10-15 12:58:43 +00:00
yamt
727daf99ff isempty: fix a query result type. 2011-10-13 14:40:06 +00:00
yamt
fbce579470 tweak some sql statements to improve chances to use the index. 2011-10-12 16:24:39 +00:00
yamt
49413e3775 puffs file system server backed by postgresql 2011-10-12 01:05:00 +00:00
pooka
39f08af21d mirror change of -lrumpcrypto ==> -lrumpkern_crypto 2010-12-05 20:13:26 +00:00
pooka
ed6861986e Add readme explaining which grue has ok'd the eating of some code
until recently located here.
2010-11-11 23:04:24 +00:00
pooka
26716af82d Remove some programs which live as atf tests now. 2010-11-11 23:01:00 +00:00
pooka
6c43668aa2 update component lists: scsipi is independent of umass now 2010-08-23 20:56:27 +00:00
christos
11e43416a1 Add cosmote examples. 2010-08-07 20:47:27 +00:00
pooka
3626443e21 Move the Delectable Test File System from share/examples/puffs/dtfs
to tests/fs/puffs/h_dtfs.

No functional change (apart from adjusting the Makefile for test builds).
2010-07-06 14:16:44 +00:00
pooka
14959b2e66 Reinstate the inactive operation (mostly dummy). This makes -i
work again and henceforth makes it possible to test inactive.
2010-07-06 13:56:40 +00:00
pooka
a95d92a275 send routing messages via routing sucket -- works better than via inet sucket 2010-07-04 17:24:10 +00:00
pooka
c0f3dfaa52 Fix pointer assignment in previous commit (test compile works better
when you do it with the #defines which actually compile the code
in question).
2010-07-04 15:44:46 +00:00
pooka
54c71dee8c Use a bit more than 1 byte of space for routing messages. 2010-07-04 15:31:04 +00:00
hannken
1423e65b26 Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.
2010-06-24 12:58:48 +00:00
pooka
5c46dd73a9 tty support is in rumpkern_tty now 2010-06-14 14:48:51 +00:00
pooka
78e2a9f5d1 Add a test/example program for using audio/pad in a rump kernel.
It stuffs some nice sounds into the virtual kernel's /dev/audio,
reads the PCM from /dev/pad, and writes the data to stdout from
where it can be piped to audioplay to test that things actually
work.

If you want to know the secret message, you'll just have to run
this program ;)
2010-05-01 23:31:01 +00:00
pooka
75a8418e7c fix typo in, um, copyright.
spotted by a keen-eyed enthusiast ;)
2010-03-29 11:01:16 +00:00
pooka
7336be7f86 amazing grep, how sweet the find
that saved a hack like me
script once was lost but now it's found
was -x, but now I sh
2010-03-29 02:11:14 +00:00
pooka
a7e090f70e Add an example for a rump router cluster setup along with a README.
some contributions to the code from Martti Kuparinen
2010-03-29 02:01:47 +00:00
pooka
7fb0f92c04 Check open return value and close fd when we're done. 2010-03-25 15:00:20 +00:00
pooka
07cd2d7f41 Use DIOCTUR to test if a newly configured CD drive is ready instead
of playing a random waiting game.
2010-03-22 20:37:26 +00:00
pooka
5219b831d7 Add an example/test program for rump bluetooth. This does discovery
and prints the address and name of the first peer encountered (if any):

ubt0 at uhub0 port 1
ubt0: Cambridge Silicon Radio Bluetooth USB Adapter, rev 2.00/19.15, addr 2
device ubt0, addr xx:xx:xx:xx:xx:xx
my peer: yy:yy:yy:yy:yy:yy, major class: 2 (phone)
peer name: Mokia maailmalta
2010-03-22 12:21:37 +00:00
pooka
60ab2ca5c0 Add a simple tty server which attaches to /dev/ttyU in the rump
kernel and provides the same device on the host with pud(4).  I
can succesfully talk to my u3g device using tip(1) against the
server's devices.  Some characters are lost here and there, though
(probably a problem with interrupt pipes in ugenhc).  Once that
issues is solved, there is no reason why e.g. pppd (chat) could
not be used against the server.

Now, why would anyone want to do this instead of using the kernel
driver directly?  Well, for one, on my laptop I run netbsd-5 which
doesn't have a u3g driver which supports the u3g hardware I have.

As anyone with half an eye can see, this is quite copypasted from
umserv and there is plenty of opportunity for uncopypasting for
the eager vi-wielder.
2010-03-07 23:28:14 +00:00
pooka
28ef056fc2 Pause after probe here too, so that you can amuse yourself by
unplugging and replugging devices and looking at the detach/attach
feedback messages.
2010-03-07 23:18:17 +00:00