HomeFreeBSD

Apply the LCONVPATH() to the (old) linux_stat() and linux_lstat() syscalls.
rS174974Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Apply the LCONVPATH() to the (old) linux_stat() and linux_lstat() syscalls.
Without it, code has two problems:

  • behaviour of the old and new [l]stat are different with regard of the /compat/linux
  • directly accessing the userspace data from the kernel asks for the panics.

Reported and tested by: Peter Holm
Reviewed by: rdivacky
MFC after: 3 days

Details

Provenance
kibAuthored on
Parents
rS174973: The ffs_balloc() routines, whan allocating the indirect blocks for
Branches
Unknown
Tags
Unknown

Event Timeline