Fix devip's permission conversion
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 11 Sep 2015 15:44:53 +0000 (11:44 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commit7808fbf9fae44248fcd2c5505e65948fe756b2ff
treea7fcd71f31b9de1004e501fc4722e5653963eb6d
parent19a22dd6e402748281112b6a89fc9436c73f6d99
Fix devip's permission conversion

Unfortunately, there are probably lots of conversions from omode to some
form of rwx permission, just like devpermcheck (probably due to the
independence and lack of sharing between device code).  All of these
will assume that 0 means O_READ.  In #I, they wanted just rwx, not
rwx------.  Oh well.
kern/src/net/devip.c