Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1487749
| From | "H. Peter Anvin" <hpa@zytor.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs) |
| Date | 2016-09-21 03:20 +0200 |
| Message-ID | <sjEmC-2hJ-7@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <sacSB-84O-1@gated-at.bofh.it> <sjDAe-1MD-21@gated-at.bofh.it> <sjDJT-1PH-3@gated-at.bofh.it> <sjE3f-1Wa-3@gated-at.bofh.it> <sjEcV-2eq-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 09/20/16 18:07, H. Peter Anvin wrote: > >> - vvar is highly magical. IMO letting it get mapped with VM_MAYWRITE >> is asking for trouble, as anything that writes it will COW it, leading >> to strange malfunctions. >> The vvar page obviously needs to be mapped MAP_SHARED, and the underlying file needs to reject writes. A solution where this area doesn't end up MAP_SHARED is obviously defective. As far as keeping the user from doing really stupid things... they can map a RAM page over the vvar area and there is nothing the kernel really can do to keep them from doing something like that without doing things that are probably way worse than the disease. At least it will be obvious looking at the mapping file what is going on. -hpa
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs) "H. Peter Anvin" <hpa@zytor.com> - 2016-09-21 02:30 +0200
Re: [RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs) "H. Peter Anvin" <hpa@zytor.com> - 2016-09-21 02:40 +0200
Re: [RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs) Andy Lutomirski <luto@amacapital.net> - 2016-09-21 03:00 +0200
Re: [RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs) "H. Peter Anvin" <hpa@zytor.com> - 2016-09-21 03:10 +0200
Re: [RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs) "H. Peter Anvin" <hpa@zytor.com> - 2016-09-21 03:20 +0200
Re: [RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs) Andy Lutomirski <luto@amacapital.net> - 2016-09-21 08:50 +0200
csiph-web