freebsd-dev/sys/fs/pseudofs
Johannes Lundberg 1e363d64a5 pseudofs: Ignore unsupported commands in vop_setattr.
Users of pseudofs (e.g. lindebugfs), should be able to receive
input from command line via commands like "echo 1 > /path/to/file".
Currently this fails because sh tries to truncate the file first and
vop_setattr returns not supported error for this. This patch simply
ignores the error and returns 0 instead.

Reviewed by:	imp (mentor), asomers
Approved by:	imp (mentor), asomers
MFC after:	1 week
Differential Revision: D20451
2019-05-28 20:54:59 +00:00
..
pseudofs_fileno.c sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
pseudofs_internal.h sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
pseudofs_vncache.c sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
pseudofs_vnops.c pseudofs: Ignore unsupported commands in vop_setattr. 2019-05-28 20:54:59 +00:00
pseudofs.c PFS: Bump NAMELEN and don't require clients to be sleepable 2019-02-20 20:55:02 +00:00
pseudofs.h PFS: Bump NAMELEN and don't require clients to be sleepable 2019-02-20 20:55:02 +00:00