Re: [PATCH 2/3]libsepol

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

 



On Wed, 7 Jul 2010, "Justin P. Mattock" <justinmattock@xxxxxxxxx> wrote:
> --- a/libsepol/src/services.c
> +++ b/libsepol/src/services.c
> @@ -1050,7 +1049,6 @@ int hidden sepol_load_policy(void *data, size_t len)
>         /* Install the new policydb and SID table. */
>         memcpy(policydb, &newpolicydb, sizeof *policydb);
>         sepol_sidtab_set(sidtab, &newsidtab);
> -       seqno = ++latest_granting;
>  
>         /* Free the old policydb and SID table. */
>         policydb_destroy(&oldpolicydb);

Is latest_granting used for anything else?  If it's not being used then it 
should be removed too.  If it is being used then failing to increment it 
breaks something.

-- 
russell@xxxxxxxxxxxx
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux