qssb_init_policy: explicit cast (for C++)
Dieser Commit ist enthalten in:
Ursprung
ee6bd18027
Commit
6f1b27ee51
2
qssb.h
2
qssb.h
@ -95,7 +95,7 @@ struct qssb_policy
|
||||
* @returns: default policy */
|
||||
struct qssb_policy *qssb_init_policy()
|
||||
{
|
||||
struct qssb_policy *result = calloc(1, sizeof(struct qssb_policy));
|
||||
struct qssb_policy *result = (struct qssb_policy *) calloc(1, sizeof(struct qssb_policy));
|
||||
result->blacklisted_syscalls = default_blacklisted_syscals;
|
||||
result->drop_caps = 1;
|
||||
result->not_dumpable = 1;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren