#
0bb43cbf |
|
11-Nov-2023 |
X512 <danger_mail@list.ru> |
poke: map area into client team in `POKE_MAP_MEMORY` ioctl After this change `POKE_UNMAP_MEMORY` ioctl will became redurant and an alias for `delete_area()`. Areas will be automatically deleted on team exit. Change-Id: I336b49c2281abf064e1bf28d908c7b2c5afd4df0
|
#
f866c782 |
|
11-Nov-2023 |
X512 <danger_mail@list.ru> |
poke: fix setting area name in POKE_MAP_MEMORY ioctl Fix regression caused hrev52304 Change-Id: Ibadaed3a098d33787c18f243c55c546ff8c2d03b Reviewed-on: https://review.haiku-os.org/c/haiku/+/7099 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
59b54f38 |
|
31-Dec-2022 |
Oscar Lesta <oscar.lesta@gmail.com> |
poke: use phys_addr_t for mem_map_args's physical_address field This is needed to fix usage of POKE_GET_PHYSICAL_ADDRESS on x86 32 bits (with PAE). Change-Id: Ic00185ec7fcf9b6666ad6169a752d8b8edd2b61b Reviewed-on: https://review.haiku-os.org/c/haiku/+/5975 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
08d7c6e8 |
|
13-Mar-2016 |
François Revol <revol@free.fr> |
poke: raise IOPL on x86 when opening the driver This should allow easier porting of things like flashrom, as it mimics FreeBSD's /dev/io behaviour. Change-Id: Iaa6b6342cf7983a9655a7155adfcc46c8a8264f1 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1077 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
e5495bf6 |
|
13-Mar-2016 |
François Revol <revol@free.fr> |
poke: allow multiple open() Not sure why it only ever allowed a single instance. Change-Id: I972a1d601d93725674a97fb341aa7ffb3625b105 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1075 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
f45e4bd1 |
|
01-Sep-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
drivers/poke: Fix for GCC7 & C++11.
|
#
1e3f0626 |
|
01-Sep-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
drivers/poke: Only allow root() to open. This allows applications to theoretically open() the poke device but then change their uid/euid to something more restrictive. The mem device is not even this permissive; but I can think of some scenarios in which this might be useful.
|
#
8d13e725 |
|
01-Sep-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
drivers/poke: Access the user buffers correctly. Untested (as it seems /bin/poke was never added?) but unless I messed up some of the memcpy arguments, this should work. Fixes #14429.
|
#
5ae6f34b |
|
01-Sep-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
drivers/poke: Compile as C++; some formatting cleanup.
|