DragonFly BSD
DragonFly bugs List (threaded) for 2011-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[TMPFS] User space program will not core dump


From: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
Date: Thu, 15 Sep 2011 17:57:35 +0800

If a user space program opened a file in the tmpfs, then the program
will not core dump upon abort()

This small program could reproduce this:
http://leaf.dragonflybsd.org/~sephe/test.c

. /test /tmpfsroot/file
Abort
[No core dump here, the test.core size is 0]

. /test /otherfs/file
Abort (core dumped)
[Core dump is correctly generated]

kernel is @a1fa5d8d095e6aa52c4a9ac5d2ab52b03fee54b9

Best Regards,
sephe

-- 
Tomorrow Will Never Die



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]