В Thu, 29 Jan 2015 06:17:42 -0800
Jonathan McCune <jonmcc...@google.com> пишет:

> On Jan 29, 2015 1:19 AM, "Andrei Borzenkov" <arvidj...@gmail.com> wrote:
> >
> > What sematic of file tests should be? I think they should just test
> > file existence; this already happens for compressed files that checks
> > that on-disk file size, not uncompressed. I think same should apply to
> > signature checks.
> >
> 
> Where the alternative is that an existence check will only succeed if a
> file has a corresponding (and verifiable) .sig?
> 
> I think existence-only is the right semantics because verify_detached can
> be used to achieve the signature-check in a standalone fashion.
> 
> (I.e., the existing behavior of test and verify_detached seems correct to
> me.)
> 

Existing behavior is to simply open file so any filter in effect will
be applied.

> > May be file checks should simply disable all filters unconditionally
> > to become more lightweight.
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > https://lists.gnu.org/mailman/listinfo/grub-devel


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to