mirror of
https://github.com/google/pebble
synced 2026-10-14 23:54:11 +02:00
@@ -31,7 +31,7 @@ DEFINE_SYSCALL(DataLoggingSessionRef, sys_data_logging_create, uint32_t tag,
|
|||||||
|
|
||||||
DEFINE_SYSCALL(void, sys_data_logging_finish, DataLoggingSessionRef session_ref) {
|
DEFINE_SYSCALL(void, sys_data_logging_finish, DataLoggingSessionRef session_ref) {
|
||||||
// TODO: It would be nice to verify the session itself, because they could be
|
// TODO: It would be nice to verify the session itself, because they could be
|
||||||
// passing us any memory address (not necesarilly a valid DataLoggingSession).
|
// passing us any memory address (not necessarily a valid DataLoggingSession).
|
||||||
// An evil developer could potentially use this to confuse the data_logging
|
// An evil developer could potentially use this to confuse the data_logging
|
||||||
// logic, and do evil things with kernel rights. However, it's pretty unlikely
|
// logic, and do evil things with kernel rights. However, it's pretty unlikely
|
||||||
// (especially since our executable code lives in microflash, and hence can't
|
// (especially since our executable code lives in microflash, and hence can't
|
||||||
|
|||||||
Reference in New Issue
Block a user