Bug 224628 - [exp-run] Remove LINK_MAX.
Summary: [exp-run] Remove LINK_MAX.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: John Baldwin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-28 00:40 UTC by John Baldwin
Modified: 2018-01-05 22:41 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Baldwin freebsd_committer freebsd_triage 2017-12-28 00:40:22 UTC
The base system no longer uses LINK_MAX and in theory POSIX permits this to not be defined requiring applications to use pathconf() to query it at runtime instead.  Note that the patch must be applied to a recent head (r327009 or later).

Patch is at https://reviews.freebsd.org/D13658
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2018-01-02 06:37:23 UTC
Exp-run looks fine.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-01-05 22:26:34 UTC
A commit references this bug:

Author: jhb
Date: Fri Jan  5 22:26:23 UTC 2018
New revision: 327598
URL: https://svnweb.freebsd.org/changeset/base/327598

Log:
  Remove LINK_MAX.

  After recent changes to change filesystems to use filesystem-specific
  limits, LINK_MAX is no longer used in the base system.  Applications
  should in theory be able to cope with a lack of LINK_MAX by using
  pathconf().

  PR:		224628 (exp-run)
  Approved by:	imp, kib
  Sponsored by:	Chelsio Communications
  Differential Revision:	https://reviews.freebsd.org/D13658

Changes:
  head/sys/sys/syslimits.h