tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: procfs files vs symlink



    Date:        Fri, 14 Jan 2022 06:22:11 +0000 (UTC)
    From:        RVP <rvp%SDF.ORG@localhost>
    Message-ID:  <8ad9feaf-a513-d33d-c887-3ca8407cdb9%SDF.ORG@localhost>

  | It does not, and wasn't meant to. I noticed that d_type was being
  | set to VREG and attached a patch for that to my reply.

Oh.  Then apologies.  I saw ...

  || The readlink on 4 will fail because it is no longer the symlink it
  || originally was:

[...ktrace output omitted ...]

  || Anyway, here's one more patch:

and just assumed that the patch that followed was intended to address
the earlier issue, though you didn't actually say that.

  | I think this does it:

Yes, that's a much better solution, and I see Christos committed it.

kre


Home | Main Index | Thread Index | Old Index