| 1549 | } |
| 1550 | |
| 1551 | static int |
| 1552 | pipe_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, struct thread *td) |
| 1553 | { |
| 1554 | struct pipe *cpipe; |
| 1555 | int error; |
| 1556 | |
| 1557 | cpipe = fp->f_data; |
| 1558 | if (cpipe->pipe_type & PIPE_TYPE_NAMED) |
| 1559 | error = vn_chmod(fp, mode, active_cred, td); |
| 1560 | else |
| 1561 | error = invfo_chmod(fp, mode, active_cred, td); |
| 1562 | return (error); |
| 1563 | } |
| 1564 | |
| 1565 | static int |
| 1566 | pipe_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, |
nothing calls this directly
no test coverage detected