policy.c (de4754c801f4ceefc6ce0d13480c506e0a91b449) | policy.c (84c455decf27ce97a23fb70b58075592ab88d66a) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * AppArmor security module 4 * 5 * This file contains AppArmor policy manipulation functions 6 * 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. --- 350 unchanged lines hidden (view full) --- 359 } else 360 aa_get_proxy(proxy); 361 profile->label.proxy = proxy; 362 363 profile->label.hname = profile->base.hname; 364 profile->label.flags |= FLAG_PROFILE; 365 profile->label.vec[0] = profile; 366 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * AppArmor security module 4 * 5 * This file contains AppArmor policy manipulation functions 6 * 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. --- 350 unchanged lines hidden (view full) --- 359 } else 360 aa_get_proxy(proxy); 361 profile->label.proxy = proxy; 362 363 profile->label.hname = profile->base.hname; 364 profile->label.flags |= FLAG_PROFILE; 365 profile->label.vec[0] = profile; 366 |
367 profile->signal = SIGKILL; |
|
367 /* refcount released by caller */ 368 return profile; 369 370fail: 371 aa_free_profile(profile); 372 373 return NULL; 374} --- 1033 unchanged lines hidden --- | 368 /* refcount released by caller */ 369 return profile; 370 371fail: 372 aa_free_profile(profile); 373 374 return NULL; 375} --- 1033 unchanged lines hidden --- |