summaryrefslogtreecommitdiff
path: root/sys/src/9/ip/pktmedium.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-09-21 23:28:37 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-09-21 23:28:37 +0200
commit5993760e143bfab2a29fa3d5a4655ed5842fd21f (patch)
treead7a372f8cf518ddfce9d525e9762ff9be1de075 /sys/src/9/ip/pktmedium.c
parentb56909157f0cd2491cd2918f7923676f22b5707c (diff)
devip: fix permission checking
permission checking had the "other" and "owner" bits swapped plus incoming connections where always owned by "network" instead of the owner of the listening connection. also, ipwstat() was not effective as the uid strings where not parsed. this fixes the permission checks for data/ctl/err file and makes incoming connections inherit the owner from the listening connection. we also allow ipwstat() to change ownership to the commonuser() or anyone if we are eve. we might have to add additional restrictions for none at a later point...
Diffstat (limited to 'sys/src/9/ip/pktmedium.c')
0 files changed, 0 insertions, 0 deletions