Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6: netlabel: fix export of SELinux categories > 127
This commit is contained in:
commit
dbd004291e
@ -128,7 +128,7 @@ int ebitmap_netlbl_export(struct ebitmap *ebmap,
|
|||||||
cmap_idx = delta / NETLBL_CATMAP_MAPSIZE;
|
cmap_idx = delta / NETLBL_CATMAP_MAPSIZE;
|
||||||
cmap_sft = delta % NETLBL_CATMAP_MAPSIZE;
|
cmap_sft = delta % NETLBL_CATMAP_MAPSIZE;
|
||||||
c_iter->bitmap[cmap_idx]
|
c_iter->bitmap[cmap_idx]
|
||||||
|= e_iter->maps[cmap_idx] << cmap_sft;
|
|= e_iter->maps[i] << cmap_sft;
|
||||||
}
|
}
|
||||||
e_iter = e_iter->next;
|
e_iter = e_iter->next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user