SF_SETTABLE
if ((ptyfs->ptyfs_flags & SF_SETTABLE) != (vap->va_flags & SF_SETTABLE)) {
ptyfs->ptyfs_flags &= SF_SETTABLE;
node->tn_flags &= SF_SETTABLE;
if ((flags & SF_SETTABLE) != (node->tn_flags & SF_SETTABLE)) {
if ((ip->flags & SF_SETTABLE) != (flags & SF_SETTABLE) ||
ip->flags &= SF_SETTABLE;
if ((vap->va_flags & SF_SETTABLE) !=
(ip->i_flags & SF_SETTABLE)) {
ip->i_flags &= SF_SETTABLE;
if ((vap->va_flags & SF_SETTABLE) !=
(ip->i_flags & SF_SETTABLE)) {
ip->i_flags &= SF_SETTABLE;
SF_APPEND) & SF_SETTABLE) /* root settable flags */