Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • L libbsd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

Update #1:

Due to abusive users subverting our CI facilities to mine cryptocurrency, breaking out of the container sandbox in the process, we have been forced to take actions to limit the usage of the public runners to official projects only.

The policy will be enforced on 2023-03-23 (or before if we detect abuses).

Please see this issue for more context and to see if and how you are impacted.

  • libbsd
  • libbsd
  • Merge requests
  • !22

Define a setproctitle_init macro to ease porting

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open guijan requested to merge guijan/libbsd:spt-init into main Nov 29, 2022
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 2

Hi, I came up with this idea while writing libobsd. If we define a macro in our BSD libraries when setproctitle_init() is present (always the case for libbsd right now), then the setproctitle_init() call can be wrapped around an #ifdef and the same code will work on libbsd, libobsd, and also on BSD because BSD won't need setproctitle_init() and won't have the macro defined.

Here's how my version of the man page looks like: https://paste.debian.net/plainh/7419d2a9 https://raw.githubusercontent.com/guijan/libobsd/df36bb27cb8f530101de1d5045207d5595b851fd/src/stdlib/setproctitle.3

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: spt-init