Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 866227
Collapse All | Expand All

(-)a/open-vm-tools/vgauth/serviceImpl/proto.c (-2 / +5 lines)
Lines 1-5 Link Here
1
/*********************************************************
1
/*********************************************************
2
 * Copyright (C) 2011-2016,2019-2021 VMware, Inc. All rights reserved.
2
 * Copyright (c) 2011-2016,2019-2022 VMware, Inc. All rights reserved.
3
 *
3
 *
4
 * This program is free software; you can redistribute it and/or modify it
4
 * This program is free software; you can redistribute it and/or modify it
5
 * under the terms of the GNU Lesser General Public License as published
5
 * under the terms of the GNU Lesser General Public License as published
Lines 1201-1206 Proto_SecurityCheckRequest(ServiceConnection *conn, Link Here
1201
   VGAuthError err;
1201
   VGAuthError err;
1202
   gboolean isSecure = ServiceNetworkIsConnectionPrivateSuperUser(conn);
1202
   gboolean isSecure = ServiceNetworkIsConnectionPrivateSuperUser(conn);
1203
1203
1204
   if (conn->isPublic && req->reqType != PROTO_REQUEST_SESSION_REQ) {
1205
      return VGAUTH_E_PERMISSION_DENIED;
1206
   }
1207
1204
   switch (req->reqType) {
1208
   switch (req->reqType) {
1205
      /*
1209
      /*
1206
       * This comes over the public connection; alwsys let it through.
1210
       * This comes over the public connection; alwsys let it through.
1207
- 

Return to bug 866227