API: More gracefully fail when opening shared memory segment fails.
API clients would fail with an ASSERT (and core dump) whenever the API shared memory segment could not be opened. This returns an error value to the client's connect instead. Change-Id: Id122a3a090b24b139c382ae09f341bde61fd2540 Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
@ -110,7 +110,7 @@ typedef struct
|
||||
|
||||
void *svm_region_find_or_create (svm_map_region_args_t * a);
|
||||
void svm_region_init (void);
|
||||
void svm_region_init_chroot (const char *root_path);
|
||||
int svm_region_init_chroot (const char *root_path);
|
||||
void svm_region_init_chroot_uid_gid (const char *root_path, int uid, int gid);
|
||||
void svm_region_init_args (svm_map_region_args_t * a);
|
||||
void svm_region_exit (void);
|
||||
|
Reference in New Issue
Block a user