X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B27E385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1713584301; bh=elVdulsQjh6l491BEsOJsM5MtlJipxq1TjVis11ttrM=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=K/qVyrcjjNGmejVjRfVG9MwhVnxjVmpt6Lxuk17hgtM6ZvH3yb0tZrbuZAQvhwZ2V zHBVOhai6hfVLFHVu3TlRb/f6GN2H3XczYWb3d/sANB25n84Rdk7L7GRTb9Y8/X0iY DKUsReiDJqBQt9QGomp1ZQtFRiNhtcSxCEg+21rU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 644AE3858D33 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 644AE3858D33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713584243; cv=none; b=pubAggLTCXacm6vCNrcA7vjJyXz/w4gtsZje1bPxFisDpgubDyjtbYvtWq/xq0H3vukOSD293IXN2OSSfV+6nud3TB84wnDRA7Lp0TaAA0nVh3ePLligi1oNlx1852U4HySRPyGIdjRL9ZEUz6ZiaUhioPwHee9oXjtzfSAeFiM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713584243; c=relaxed/simple; bh=VFA9jmNWdstE7+lkvoftqENhVDZv4jO8bM1jvaeP9Is=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=PxugQfUP6FuCsZGnQdtFW51eOekEpkHjNueIzlO+uEwJNAP08EgfzeXJ/SxcFtsOVL9roaeWX91a9a14pBS7gHXt0dR17Tedmo0DvGp8PbiqK9Ih44yJUZcWK+3MrqZSCz+5fvSTd4RH3x5zRs6OG35NFDLK4gwPMV5nfH9iNPg= ARC-Authentication-Results: i=1; server2.sourceware.org X-Authority-Analysis: v=2.4 cv=MenPuI/f c=1 sm=1 tr=0 ts=66233870 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=mQ7ACtkuumeswWLJDwkA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 Message-ID: <608a6fa5-22e0-4b46-b1c9-9074be3aa1e1@Shaw.ca> Date: Fri, 19 Apr 2024 21:37:20 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: DOS namespaces, accessible/walk-able as Admin via Cygwin? Content-Language: en-CA To: cygwin AT cygwin DOT com References: Organization: Inglis In-Reply-To: X-CMAE-Envelope: MS4xfPgMV8TX9IWq9dvpYh28EH+xmiI/nj1L/78iOdGX4hckP+g/xrlbfI3GI/zSgvXBkm53WCGBn1ajpARNzo4kMCIK1/Dw0X5bd8enuaeIHtqXN+MoWSs8 kmseZjimhpb+THQo2img+fnCpGB4Z1vZQZ3BtuMPeNcTcY7Bmv+kFnVOy1wla86uSAoX41HbEdWMNA== X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: Brian DOT Inglis AT Shaw DOT ca Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 43K3cMAd4116632 On 2024-04-19 17:09, Dan Shelton via Cygwin wrote: > 1. Windows has DOS namespaces per user, or per Logon. > Can anyone explain this from a Win32 API point of view how they are kept > separate? Ask on SuperUser *NOT* SO! > 2. If I have Administrator rights, is there a way in /proc where I can > /bin/ls -la or /bin/find -ls all those DOS namespaces and soft links > to the real devices? Cygwin exposes these MS Windows Executive Object Manager subsystem resource objects under /proc/sys/ and object namespaces are per session under /proc/sys/Sessions/ you have e.g. $ ls -glo /proc/sys/Sessions/BNOLINKS/ total 0 lr--r--r-- 1 0 Apr 19 21:23 0 -> /proc/sys/BaseNamedObjects lr--r--r-- 1 0 Apr 19 21:23 1 -> /proc/sys/Sessions/1/BaseNamedObjects so each session has its own set of BaseNamedObjects, which you can list with appropriate permissions, or using a tree browser. Under MS Windows you can use Sysinternals WinObj64 to browse the hierarchy and objects. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple