As the subject says... kldxref creates linker.hints files with mode 600, and I cannot see any good reason for that except for a bug (or probably two bugs). Looking at the source code src/usr.sbin/kldxref/kldxref.c, it seems that the file is originally created by mkstemp (in a weird way -- the file descriptor returned by mkstemp is ignored, then the file is reopened) and here is where it gets the 600 permission. Then the file is rename()'d, but forgetting to restore the permission to something more useful ? cheers luigiReceived on Thu Nov 27 2008 - 13:26:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC