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
The following reply was made to PR bin/52512; it has been noted by GNATS.
From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, venture37%geeklan.co.uk@localhost
Subject: Re: bin/52512: Duplicate files prevent veriexecctl from loading
signature file
Date: Tue, 29 Aug 2017 18:17:06 +0800 (+08)
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