Re: [RFC v5 2/4] pstore/blk: add sample for pstore_blk

2019-01-19 Thread liaoweixiong
resend this email. On 2019-01-18 08:21, Kees Cook wrote: > On Thu, Jan 17, 2019 at 4:15 PM Kees Cook wrote: >> >> On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong >> wrote: >>> >>> It is a sample for pstore_blk, using general ram rather than block device. >>> According to pstore_blk, the data will be

Re: [RFC v5 2/4] pstore/blk: add sample for pstore_blk

2019-01-19 Thread 廖威雄
On 2019-01-18 08:21, Kees Cook wrote: > On Thu, Jan 17, 2019 at 4:15 PM Kees Cook wrote: >> >> On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong >> wrote: >>> >>> It is a sample for pstore_blk, using general ram rather than block device. >>> According to pstore_blk, the data will be saved to ram buffer

Re: [RFC v5 2/4] pstore/blk: add sample for pstore_blk

2019-01-19 Thread liaoweixiong
On 2019-01-18 08:15, Kees Cook wrote: > On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong > wrote: >> >> It is a sample for pstore_blk, using general ram rather than block device. >> According to pstore_blk, the data will be saved to ram buffer if not >> register device path and apis for panic. So, it c

Re: [RFC v5 2/4] pstore/blk: add sample for pstore_blk

2019-01-17 Thread Kees Cook
On Thu, Jan 17, 2019 at 4:15 PM Kees Cook wrote: > > On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong > wrote: > > > > It is a sample for pstore_blk, using general ram rather than block device. > > According to pstore_blk, the data will be saved to ram buffer if not > > register device path and apis f

Re: [RFC v5 2/4] pstore/blk: add sample for pstore_blk

2019-01-17 Thread Kees Cook
On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong wrote: > > It is a sample for pstore_blk, using general ram rather than block device. > According to pstore_blk, the data will be saved to ram buffer if not > register device path and apis for panic. So, it can only used to dump > Oops and some things wi

[RFC v5 2/4] pstore/blk: add sample for pstore_blk

2019-01-07 Thread liaoweixiong
It is a sample for pstore_blk, using general ram rather than block device. According to pstore_blk, the data will be saved to ram buffer if not register device path and apis for panic. So, it can only used to dump Oops and some things will not reboot. Signed-off-by: liaoweixiong --- fs/pstore/Kc