Commit Graph

391 Commits

Author SHA1 Message Date
christos 071faa13f8 add a shm example 2015-03-04 16:18:04 +00:00
snj 682be92a68 de-foodify comment 2014-10-18 07:11:07 +00:00
szptvlfn 5c4c6feb2f use proper address, ok spz@. 2014-08-04 22:13:23 +00:00
lneto 4ab4902eb2 lua: updated from 5.1 to 5.3 work3
* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
2014-07-19 18:38:33 +00:00
spz a9c93eb0a8 - match up comment and interface identifiers
- use RFC5737 documentation prefixes
- use a variable for the RFC1918 private address ranges
2014-05-31 12:33:14 +00:00
spz af8b224c4c example for port remapping added 2014-05-31 11:54:37 +00:00
christos a6ec449286 need esp 2014-05-27 23:34:43 +00:00
christos 4b88b7d425 just allow l2tp not regular ipsec. 2014-05-27 23:24:42 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
christos 161079ca45 put more info about the sierra modem 2014-02-15 18:17:59 +00:00
rmind c5b92e4a87 Sync some NPF config examples with the reality. 2014-02-08 01:32:19 +00:00
spz 8797028bc7 - make etc/rc.d/wpa_supplicant create directory /var/run/wpa_supplicant
on startup
- create share/examples/wpa_supplicant/wpa_supplicant.conf and make it
  known in the relevant places. Improvements welcome, my point was
  ctrl_interface and "you seriously want this"
2014-01-23 07:26:50 +00:00
spz e6ff916532 track syntax change in npf.conf regarding group 2013-09-20 17:51:04 +00:00
wiz a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
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