1 /* |
1 /* |
2 * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
664 // exist or if the psinfo file doesn't exit. If the psinfo file |
664 // exist or if the psinfo file doesn't exit. If the psinfo file |
665 // doesn't exist, then we are running on Solaris 2.5.1 or earlier. |
665 // doesn't exist, then we are running on Solaris 2.5.1 or earlier. |
666 // since the structured procfs and old procfs interfaces can't be |
666 // since the structured procfs and old procfs interfaces can't be |
667 // mixed, we attempt to find the file through a directory search. |
667 // mixed, we attempt to find the file through a directory search. |
668 |
668 |
669 return get_user_name_slow(vmid, CHECK_NULL); |
669 return get_user_name_slow(vmid, THREAD); |
670 } |
670 } |
671 |
671 |
672 // return the file name of the backing store file for the named |
672 // return the file name of the backing store file for the named |
673 // shared memory region for the given user name and vmid. |
673 // shared memory region for the given user name and vmid. |
674 // |
674 // |