Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935474Ab3DINAw (ORCPT ); Tue, 9 Apr 2013 09:00:52 -0400 Received: from mail-bk0-f51.google.com ([209.85.214.51]:53442 "EHLO mail-bk0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759207Ab3DINAv (ORCPT ); Tue, 9 Apr 2013 09:00:51 -0400 From: Andrei Epure To: mingo@redhat.com, peterz@infradead.org Cc: linux-kernel@vger.kernel.org, trivial@kernel.org, Andrei Epure Subject: [PATCH] include:linux: task_struct personality comment Date: Tue, 9 Apr 2013 16:02:12 +0300 Message-Id: <1365512532-18730-1-git-send-email-epure.andrei@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 29 Signed-off-by: Andrei Epure --- include/linux/sched.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index d35d2b6..8621bb0 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1274,8 +1274,10 @@ struct task_struct { int exit_code, exit_signal; int pdeath_signal; /* The signal sent when the parent dies */ unsigned int jobctl; /* JOBCTL_*, siglock protected */ - /* ??? */ + + /* used with exec_domain for compatibility with other UNIX-like OSs */ unsigned int personality; + unsigned did_exec:1; unsigned in_execve:1; /* Tell the LSMs that the process is doing an * execve */ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/