summaryrefslogtreecommitdiff
path: root/open_issues/pflocal_reauth.mdwn
blob: a575783ec1602cad4eb85234b2f43bc52c084d73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[[!meta copyright="Copyright © 2011, 2014 Free Software Foundation, Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]

[[!tag open_issue_glibc open_issue_hurd]]

IRC, freenode, #hurd, 2011-04-02

    <pinotree> youpi: i'm playing with pflocal, and noticing that a simple C
      executable doesn't trigger reauthenticate
    <pinotree> youpi: i've put a debug output (to file) in S_io_reauthenticate,
      and with a simple C test (which uses unix sockets) it isn't called
    <youpi> pinotree: it seems pflocal should return FS_RETRY_REAUTH in
      retry_type
    <youpi> to make glibc call reauthentication
    <pinotree> pflocal?
    <youpi> yes, in the dir_lookup handler

[[hurd/interface/dir_lookup]].

    <pinotree> isn't that ext2fs?
    <youpi> libtrivfs had dir_lookup() too
    <youpi> trivfs_check_open_hook can be used to tweak its behavior
    <pinotree> ah, missed that pflocal was using libtrivfs, sorry
    <youpi> there are probably very few translators which don't use one of the
      lib*fs :)
    <antrik> pinotree: what are you trying to do with pflocal?
    <pinotree> local socket scredentials (SCM_CREDS)
    <antrik> ah
    <antrik> don't really know what that is, but I remember reading some
      mention of it ;-)

---

See also [[pflocal_socket_credentials_for_local_sockets]] and
[[sendmsg_scm_creds]].