The 'name1' argument to symlink(2) is only limited to 1023 characters,

its components are not checked.
This commit is contained in:
Pawel Jakub Dawidek 2006-12-12 19:48:15 +00:00
parent 3dcca30330
commit b8f5525f70
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165133

View File

@ -67,7 +67,9 @@ A component of the
.Fa name2 .Fa name2
prefix is not a directory. prefix is not a directory.
.It Bq Er ENAMETOOLONG .It Bq Er ENAMETOOLONG
A component of either pathname exceeded 255 characters, A component of the
.Fa name2
pathname exceeded 255 characters,
or the entire length of either path name exceeded 1023 characters. or the entire length of either path name exceeded 1023 characters.
.It Bq Er ENOENT .It Bq Er ENOENT
The named file does not exist. The named file does not exist.