aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/node-cache.c
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2021-05-26 19:19:36 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-10 22:14:02 +0200
commitccc7705774918e4ae5367c3e8931765807e3931d (patch)
tree450bc69a070741588c9bf2f84f046e54d7c6d107 /libdiskfs/node-cache.c
parenta7e36189261bc1a8dc08744cea976c88fbe4c27c (diff)
downloadhurd-ccc7705774918e4ae5367c3e8931765807e3931d.tar.gz
hurd-ccc7705774918e4ae5367c3e8931765807e3931d.tar.bz2
hurd-ccc7705774918e4ae5367c3e8931765807e3931d.zip
console: Return EOPNOTSUPP when appropriate
We do not impement most of the mach_notify_* () routines. Explicitly return an error code so that our caller knows to properly deallocate all resources the messages may carry. Even though we don't expect to receive some of the notifications from the kernel as we never sign up for them, we can always receive spoofed notifications from our clients, so don't abort in that case.
Diffstat (limited to 'libdiskfs/node-cache.c')
0 files changed, 0 insertions, 0 deletions