HomeFreeBSD

vfs_extattr: Allow extattr names up to the full max

Description

vfs_extattr: Allow extattr names up to the full max

Extattr names are allowed to be 255 bytes -- not 254 bytes plus trailing
NUL. Provide a 256 buffer so that copyinstr() has room for the trailing
NUL.

Re-enable test for maximal name lengths.

PR: 208965
Reported by: asomers
Reviewed by: asomers
Differential Revision: https://reviews.freebsd.org/D24584

Details

Provenance
cemAuthored on
Reviewer
asomers
Differential Revision
D24584: vfs_extattr: Allow extattr names up to the full max
Parents
rS361020: MFC 359047,359054: Deprecate procfs-based process debugging.
Branches
Unknown
Tags
Unknown