Commit graph

133 commits

Author SHA1 Message Date
cinap_lenrek
427e925eea cwfs: add optional uid argument to allow command, unify permission override code
the allow command now takes an optional uid argument for the user
to be granted temporary god status on the fileserver for maintenance.

this was kenji okomotos idea, so thanks :)

remove wstatallow and writeallow flags. instead, we have global:

int allowed;

that contains the uid of the currently allowed user id or -1
if permission checking is globally disabled for the fileserver.
when zero, normal permission checking takes place.

added int isallowed(File*) function that returns non-zero when the
context is the console, or the allowed user. this is also used internally
by iaccess(), so all the extra code of in the callers of iaccess()
is gone now.

dont conflate allowed user with noauth flag and auto-allow on ream.
the installer already knows about noauth and allow flags so theres no
problem with bootstraping.
2014-08-11 22:36:59 +02:00
cinap_lenrek
4ad63a4c56 nusb: fix spelling, sorry 2014-06-28 19:55:14 +02:00
cinap_lenrek
4275c49e72 nusb: implement aijus stable uniqueue device names
instead of naming devices by ther dynamically assigned device address,
we hash device uniqueue fields from the device descriptor and produce
a 5 digit hex string that will identify the device across machines.

when there is a collision (less than 1% chance with 100 devices),
usbd will append the device address to the name to make it uniqueue
for this machine.

the hname is passed to drivers in the devid argument, which now has
the form addr:hname, where the colon and hname can be omited (for backwards
compatibility).

when the new behaviour isnt desired, nousbhname= environment variable
can be defined giving the old behaviour.
2014-06-28 18:09:43 +02:00
ftrvxmtrx
a2f0fdbfa0 aan(8): fix aanuke synopsis 2014-04-29 23:17:06 +02:00
ftrvxmtrx
b4fa1e617b man pages: fix duplicate words 2014-04-26 13:22:15 +02:00
ftrvxmtrx
244bb0038d man pages: the the wich 2014-04-26 01:47:36 +02:00
stanley lieber
1c3e6a3e5a aan(8): add HISTORY 2014-04-14 19:09:33 -04:00
stanley lieber
0812a26f00 add /rc/bin/aanuke 2014-04-14 19:05:57 -04:00
cinap_lenrek
ffb120199a auth/login: find authdom instead of using hardcoded cs.bell-labs.com (thanks erik) 2014-03-23 18:10:04 +01:00
cinap_lenrek
af13b1a147 plan9.ini(8): document service= boot parameter 2014-03-15 01:06:11 +01:00
cinap_lenrek
bbe797c3d0 ndb(8): the truth is too hard to explain, so theres a nice lie. 2014-03-05 20:13:03 +01:00
cinap_lenrek
f894ab740f ndb(8): document -x option of ndb/dnsquery (thanks mischief) 2014-03-05 19:50:34 +01:00
Matthew Veety
c54271a588 documented usbwait in plan9.ini(8) 2014-02-15 17:18:58 -05:00
stanley lieber
066ef28390 cifs(4), cifsd(8): add HISTORY 2013-12-27 16:32:37 -05:00
stanley lieber
459f018d0d add HISTORY to various man pages 2013-12-27 16:22:05 -05:00
cinap_lenrek
2f9ae0f8ac removing (outdated) drawterm
drawterm is much better maintained by russ cox,
so removing this outdated copy.

for a more recent version, go to:

http://swtch.com/drawterm/
2013-11-23 01:05:33 +01:00
mischief
8c9e7ded17 auth/rsa2ssh: add SSH2 RSA output format (from plan9port) 2013-10-27 18:50:14 -07:00
cinap_lenrek
e4942b78fd mkfs(8): also list -U option in table 2013-09-22 03:30:04 +02:00
stanley lieber
8aeb7a926e rc-httpd(8): fix typo (thanks, _trav) 2013-09-20 03:09:40 -04:00
stanley lieber
1556afae40 2c(1), torrent(1), uhtml(1), kbd(3), cwfs(4), hgfs(4), cifsd(8), cryptsetup(8), hjfs(8), kbdfs(8), realemu(8), wpa(8): fix spelling, typos 2013-08-23 15:48:52 -04:00
cinap_lenrek
24e8c78cb2 cwfs: add rtmp flag for check command to remove temporary files after recover 2013-07-18 15:04:37 +02:00
Alexander Polakov
efe1c9087a Add rt2860 to plan9.ini(8) 2013-07-09 17:41:25 +04:00
cinap_lenrek
b76142bfef hjfs: add users command, fix newuser ? documentation 2013-07-05 15:17:32 +02:00
ppatience0
e0f1e9e715 plan9.ini(8): typo 2013-07-03 21:28:49 -04:00
cinap_lenrek
cf38ab75fc reintroduce *notsc= option
the issues with the previous tsc change where not related to the tsc
but where problems with timesync using an old frequency file. a
patch to fix timesync was commited, so so we reintroduce the *notsc=
again.
2013-06-25 20:32:43 +02:00
cinap_lenrek
a8cc5cff0e wifi: allow selecting specific access point with bssid= parameter and wifictl command 2013-06-23 23:54:15 +02:00
cinap_lenrek
49c9955aea reverting *notsc= option, this needs another revision 2013-06-21 02:49:08 +02:00
cinap_lenrek
8da4c8dcde plan9.ini: add *notsc= option to disable use of TSC as righ resolution clock
we previously used tsc only on cpu kernel. now that
we use it on terminal kernel too, there might be some
surprises ahead.

so make it possible to disable tsc for machines where
the tsc rate is not kept constant across cores or is
dynamically adjusted by power management.
2013-06-19 20:56:01 +02:00
cinap_lenrek
646eb150e1 smtp: add SMTPS support (-t) 2013-06-12 23:39:41 +02:00
ppatience0
a5488ad1e6 plan9.ini(8): typo 2013-06-05 19:11:41 -04:00
cinap_lenrek
e8efd0a242 mkpaqfs(8): correct maximum block size (from erik quanstros mkpaqfsman patch) 2013-05-03 13:57:00 +02:00
cinap_lenrek
33d00fce10 wpa(8) document -1 and -2 options 2013-03-24 02:30:11 +01:00
ppatience0
39eaaaf07d wpa(8): fix typos 2013-03-10 19:25:01 -04:00
cinap_lenrek
cc02f96ed9 provide wpa(8) manual page 2013-03-09 19:18:00 +01:00
cinap_lenrek
3da5b76c0b 9boot: preserve configuration on boot error, add show command 2013-02-17 09:30:02 +01:00
cinap_lenrek
0ef41a6718 boot(8): manpage correction $objtype vs. $cputype (from /n/sources/patch/boot-cputype-objtype)
boot(8) claims that boot will launch /$objtype/init;
that is incorrect. It launches /$cputype/init (so says
both boot.c and cpurc(8)). That's the more sensible
choice. This patch fixes the man page to resolve the
mismatch.
2013-02-16 23:38:58 +01:00
cinap_lenrek
3c3808b280 plan9.ini(8): make more clear what firmware file to get for iwl 2013-02-13 11:03:19 +01:00
cinap_lenrek
42fc57d543 plan9.ini(8): document iwl options 2013-02-13 10:57:47 +01:00
stanley lieber
c877493fb0 add rc-httpd 2013-02-04 16:40:05 -06:00
cinap_lenrek
245355f719 document tcp445 (CIFS/SMB) listener 2013-01-28 16:41:25 +01:00
cinap_lenrek
f2f2c8687a 6in4: add -o option to make it possible to use different nets for ipv6 and ipv4 interface 2013-01-14 07:09:25 +01:00
cinap_lenrek
33768d90bf Four shall be the number thou shalt count, and the number of the counting shall be four. 2013-01-13 15:38:21 +01:00
cinap_lenrek
bad3007bd6 plan9.ini(8): isa uarts 2013-01-13 11:04:24 +01:00
cinap_lenrek
1c69f9c023 vac(1), ec(2), usb(3), hjfs(8): fix source reference 2013-01-09 08:17:09 +01:00
cinap_lenrek
6d6138fbd8 tlssrv(8): fix bad cross reference 2013-01-09 07:55:58 +01:00
cinap_lenrek
23b6f7ffcc aan(8): add cpu(1) remark as it also support -p iption 2012-12-30 18:47:32 +01:00
cinap_lenrek
7a99d3c6a6 ipconfig(8): better way to say it :) 2012-12-06 07:34:56 +01:00
cinap_lenrek
df8c55ec71 ipconfig(8): document new default behaviour for finding ethernet device 2012-12-06 07:30:16 +01:00
cinap_lenrek
b28f60cdd3 add C-Keens tls-client-auth
This patch adds client TLS authentication to libsec in compliance with
rfc 4346.

A new -c flag has been introduced for tlsclient allowing the user to
specify a certificate in pem(8) format which will be provided to the
server upon request.

A -D debug flag has been introduced to enable debugging output.

The patch has been tested against OpenSSL 0.9.7j 04 May 2006.

It exists today because of the great (debugging) help and insight
provided by Matthias Bauer.

TODOs:

- specification of a certain client key in factotum is not possible at
	the moment
- tlssrv should support this too

These will get added in another patch.

The first try to submit this patch failed due to a network error.
Sorry for the duplication!

Kind regards,

Christian
2012-11-15 19:32:53 +01:00
cinap_lenrek
fef6ff96ad update fshalt(8) manpage 2012-10-14 13:33:10 +02:00