mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Ignore attempts to set flags to zero. This quenches a syslog warning
from login(1).
This commit is contained in:
parent
81372ff0ed
commit
eb7ba7f95c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66028
@ -557,7 +557,7 @@ devfs_setattr(ap)
|
||||
(vap->va_fsid != VNOVAL) ||
|
||||
(vap->va_fileid != VNOVAL) ||
|
||||
(vap->va_blocksize != VNOVAL) ||
|
||||
(vap->va_flags != VNOVAL) ||
|
||||
(vap->va_flags != VNOVAL && vap->va_flags != 0) ||
|
||||
(vap->va_rdev != VNOVAL) ||
|
||||
((int)vap->va_bytes != VNOVAL) ||
|
||||
(vap->va_gen != VNOVAL)) {
|
||||
|
Loading…
Reference in New Issue
Block a user