tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Adding linux_link(2) system call, second round



manu%netbsd.org@localhost said:
> Both behaviors are standard compliant, since SUSv2 says nothing about
> resolving symlinks or not.

While the "DESCRIPTION" chapter doesn't tell it explicitely,
we have the following in "ERRORS":

[ELOOP]
 A loop exists in symbolic links encountered during resolution of the path1
 or path2 argument.

This implies that the intention is that symlinks are followed.

elric%imrryr.org@localhost said:
> Or perhaps llink(2) for symmetry with lchmod(2) and lstat(2).

This looks reasonable.

best regards
Matthias



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index