This allows to ensure that we do not write a file that was opened
for reading only or vice versa.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
Looks good to me.
| sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c | ||
|---|---|---|
| 5438 | I think you would want to upstream a change that modifies this to fp = getf(fd); so we don't diverge here. | |
| sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c | ||
|---|---|---|
| 5438 | That makes sense and I would love to do it, but given how hard (for me) is to submit an upstream change it might take me a while. | |
| sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c | ||
|---|---|---|
| 5423 | Please also note that the current code has a bug here: we need CAP_WRITE not CAP_READ. | |
| sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c | ||
|---|---|---|
| 5438 | As matt is on the team here and illumos advocate now is this something he can assist with. I myself has also found that process very time consuming. | |
This comment was removed by avg.