NetBSD-Bugs archive

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

Re: bin/52512: Duplicate files prevent veriexecctl from loading signature file



On Tue, 29 Aug 2017, Martin Husemann wrote:

Random idea before first morning coffee:

Maybe compare the inode (if available, not sure this is a good idea in
genaral) or the filehandle?

Neither inode nor filehandle is available. The EEXIST check is done simply by attempting to retrieve the info via fileassoc(9) and checking the return for NULL.



+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index