annotate LICENSE @ 98:b87100c5eed4

Start on environment variables, and make pointers nicer. This starts work on the PAM environment handling, and in so doing, introduces the CHeapBox and CHeapString structs. These are analogous to Box and CString, but they're located on the C heap rather than being Rust-managed memory. This is because environment variables deal with even more pointers and it turns out we can lose a lot of manual freeing using homemade smart pointers.
author Paul Fisher <paul@pfish.zone>
date Tue, 24 Jun 2025 04:25:25 -0400
parents ce47901aab7a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
1 The MIT License (MIT)
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
2
45
ce47901aab7a Rename to “nonstick”, move to root, update docs and license.
Paul Fisher <paul@pfish.zone>
parents: 0
diff changeset
3 Copyright © 2015 TOZNY, 20152022 pam-rs contributors, 2025 Paul Fisher
0
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
4
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
5 Permission is hereby granted, free of charge, to any person obtaining a copy
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
6 of this software and associated documentation files (the "Software"), to deal
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
7 in the Software without restriction, including without limitation the rights
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
9 copies of the Software, and to permit persons to whom the Software is
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
10 furnished to do so, subject to the following conditions:
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
11
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
12 The above copyright notice and this permission notice shall be included in all
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
13 copies or substantial portions of the Software.
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
14
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
20 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
21 SOFTWARE.
8ed8b2cfd909 Initial commit
Isaac Potoczny-Jones <ijones@syntaxpolice.org>
parents:
diff changeset
22