<?php $file = '/usr/local/sbin/some_binary';$signature = xattr_get($file, 'Root signature', XATTR_ROOT);/* ... check if $signature is valid ... */?>