Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-33090

plugin/auth_pam/testing/pam_mariadb_mtr.c doesn't compile on Solaris

Details

    Description

      `pam_mariadb_mtr.c` doesn't compile on Solaris:
      ```
      In file included from /vol/src/mariadb/mariadb-10.11.6/plugin/auth_pam/testing/pam_mariadb_mtr.c:13:
      /usr/include/security/pam_modules.h:14:9: error: unknown type name ‘pam_handle_t’
      14 | pam_handle_t *__pamh,

      ```
      `pam_handle_t` is declared in `<security/pam_appl.h>`, so reversing the include order fixes the bug.

      Attachments

        Activity

          rorth Rainer Orth created issue -
          serg Sergei Golubchik made changes -
          Field Original Value New Value
          Assignee Sergei Golubchik [ serg ]
          serg Sergei Golubchik made changes -
          Fix Version/s 10.4 [ 22408 ]
          Fix Version/s 10.5 [ 23123 ]
          Fix Version/s 10.6 [ 24028 ]
          Fix Version/s 10.11 [ 27614 ]
          Fix Version/s 11.0 [ 28320 ]
          Fix Version/s 11.1 [ 28549 ]
          Fix Version/s 11.2 [ 28603 ]
          serg Sergei Golubchik made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          serg Sergei Golubchik made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          serg Sergei Golubchik made changes -
          Status Stalled [ 10000 ] In Testing [ 10301 ]

          Thanks, I've applied your patch and pushed into a stage branch. If it won't break anything on other platforms it'll be in the next release.

          serg Sergei Golubchik added a comment - Thanks, I've applied your patch and pushed into a stage branch. If it won't break anything on other platforms it'll be in the next release.
          serg Sergei Golubchik made changes -
          Fix Version/s 10.4.33 [ 29516 ]
          Fix Version/s 10.5.24 [ 29517 ]
          Fix Version/s 10.6.17 [ 29518 ]
          Fix Version/s 10.11.7 [ 29519 ]
          Fix Version/s 11.0.5 [ 29520 ]
          Fix Version/s 11.1.4 [ 29024 ]
          Fix Version/s 11.2.3 [ 29521 ]
          Fix Version/s 10.4 [ 22408 ]
          Fix Version/s 10.5 [ 23123 ]
          Fix Version/s 10.6 [ 24028 ]
          Fix Version/s 10.11 [ 27614 ]
          Fix Version/s 11.0 [ 28320 ]
          Fix Version/s 11.1 [ 28549 ]
          Fix Version/s 11.2 [ 28603 ]
          Resolution Fixed [ 1 ]
          Status In Testing [ 10301 ] Closed [ 6 ]

          People

            serg Sergei Golubchik
            rorth Rainer Orth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.