mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 11:41:26 +00:00
Build fix for Grsecurity (e.g. Gentoo-Hardened) (merge r4724 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4725 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -70,7 +70,12 @@ struct sgv_pool_alloc_fns {
|
||||
void *priv);
|
||||
void (*free_pages_fn)(struct scatterlist *sg, int sg_count,
|
||||
void *priv);
|
||||
};
|
||||
}
|
||||
#ifdef CONSTIFY_PLUGIN
|
||||
/* Avoid that the Grsecurity gcc constify_plugin constifies this structure. */
|
||||
__attribute__((no_const))
|
||||
#endif
|
||||
;
|
||||
|
||||
/*
|
||||
* SGV pool
|
||||
|
||||
Reference in New Issue
Block a user