mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 07:08:18 +00:00
Move Session_label from os to base
Session_label constructor now takes a bare string rather than a serialized argument buffer. Replace all instances of previous constructor with 'label_from_args' function. Issue #1787
This commit is contained in:
committed by
Norman Feske
parent
88b358c5ef
commit
f8337b511b
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2012-2013 Genode Labs GmbH
|
||||
* Copyright (C) 2012-2016 Genode Labs GmbH
|
||||
*
|
||||
* This file is part of the Genode OS framework, which is distributed
|
||||
* under the terms of the GNU General Public License version 2.
|
||||
@ -336,7 +336,7 @@ class File_system::Root : public Root_component<Session_component>
|
||||
char root[ROOT_MAX_LEN];
|
||||
root[0] = 0;
|
||||
|
||||
Session_label label(args);
|
||||
Session_label const label = label_from_args(args);
|
||||
try {
|
||||
Session_policy policy(label);
|
||||
|
||||
|
Reference in New Issue
Block a user