* Re: [LTP] [PATCH v2] mmap/mmap13.c: new case to test SIGBUS error of mmap [not found] <51C7FD6D.4010904@cn.fujitsu.com> @ 2013-06-24 15:42 ` chrubis [not found] ` <990668294.1913615.1372679398858.JavaMail.root@redhat.com> 1 sibling, 0 replies; 2+ messages in thread From: chrubis @ 2013-06-24 15:42 UTC (permalink / raw) To: DAN LI; +Cc: LTP list Hi! > Test SIGBUS error by accessing to a portion of the buffer that does not > correspond to the file. > > Signed-off-by: DAN LI <li.dan@cn.fujitsu.com> > --- > runtest/syscalls | 1 + > testcases/kernel/syscalls/mmap/mmap13.c | 152 ++++++++++++++++++++++++++++++++ > 2 files changed, 153 insertions(+) > create mode 100644 testcases/kernel/syscalls/mmap/mmap13.c ... > + > + addr = mmap(0, page_sz * 2, PROT_READ | PROT_WRITE, > + MAP_FILE | MAP_SHARED, fildes, 0); The first parameter should really have been NULL, pushed with that change, thanks. -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <990668294.1913615.1372679398858.JavaMail.root@redhat.com>]
* Re: [LTP] [PATCH v2] mmap/mmap13.c: new case to test SIGBUS error of mmap [not found] ` <990668294.1913615.1372679398858.JavaMail.root@redhat.com> @ 2013-07-01 12:09 ` chrubis 0 siblings, 0 replies; 2+ messages in thread From: chrubis @ 2013-07-01 12:09 UTC (permalink / raw) To: Jan Stancek; +Cc: LTP list Hi! > > Test SIGBUS error by accessing to a portion of the buffer that does not > > correspond to the file. > > > > Signed-off-by: DAN LI <li.dan@cn.fujitsu.com> > > Reviewed-by: Jan Stancek <jstancek@redhat.com> > > v2 looks good to me. As for others, ../.gitignore is missing "mmap13", > but I think comitter can add that. > I've commited this one allready (along with another patch to add it to gitignore (as I noticed this later)). -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-01 12:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <51C7FD6D.4010904@cn.fujitsu.com>
2013-06-24 15:42 ` [LTP] [PATCH v2] mmap/mmap13.c: new case to test SIGBUS error of mmap chrubis
[not found] ` <990668294.1913615.1372679398858.JavaMail.root@redhat.com>
2013-07-01 12:09 ` chrubis
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox