On 2024/9/25 21:46, Matthew Wilcox wrote:
On Wed, Sep 25, 2024 at 09:40:31PM +0800, Nanyong Sun wrote:
On 2024/9/25 20:18, Matthew Wilcox wrote:
On Wed, Sep 25, 2024 at 03:05:17AM -0700, Andrew Morton wrote:
+++ a/include/linux/mm_types.h
@@ -1499,4 +1499,85 @@ enum {
/* See also internal only FOLL flags in mm/internal.h */
};
+/* mm flags */
+
+/* core dumpable occupy bit0 and bit1 */
... but why is that important?
/*
* The first two bits represent core dump modes for set-user-ID,
* the modes are SUID_DUMP_* defined in linux/sched/coredump.h
*/
Do you think if change it to this will be OK?
That seems reasonable.
.
OK, I will send v3 later.
Thanks a lot for your review and suggestion.